[Catalyst] Invoke *complete* subrequests in Catalyst?

Matt S Trout dbix-class at trout.me.uk
Tue Sep 19 22:23:17 CEST 2006


Nate Wiger wrote:
> I'm building an AJAX app with FormBuilder, and want to use it to embed 
> multiple forms in a page (each of which would be linked to a different 
> action and submitted using JQuery). I've found I can do this, but I've 
> had to make changes to the FB plugin so that it only instantiates an 
> object on a call to $c->form, and doesn't use prepare() to do so. This 
> then requires a bit of internal magic to work both normally and in 
> subrequest mode.
> 
> Other ideas?

Actually, yes.

MAKE IT A CONTROLLER BASE CLASS LIKE I ALREADY SAID

You just proved *perfectly* why this is a really stupid thing to have as a 
plugin ...

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list