-jesse
On Feb 11, 2007, at 12:58 AM, Joshua Pollack wrote:
Is it possible to write code in my app that somehow replaces Jifty::Action or Jifty::Action::Record? I would like to be able to add some functionality to all Actions in my app, including the onesthat are automagically generated for me, like MyApp::Action::CreateFoo.I tried creating MyApp::Action explicitly (in the lib directory), expecting that the CreateFoo action would inherit from it, but theautomagically generated one inherits from Jifty::Action::Record::Create.I can, of course, create a small army of tiny .pm files, for each of my Models creating the four associated Actions, and within each of those explicitly subclassing J:A:R:Create and MyApp::Action, and this works, but it's messy. Given Jifty's magic that can create modules for me, is there a simple way to add to the modules those created ones inherit from, while still benefiting from the magic (ie, w/o having to manually create all the files). Thanks, Joshua _______________________________________________ jifty-devel mailing list [email protected] http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ jifty-devel mailing list [email protected] http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
