|
I tried to override Jifty::Action::Record::CreateXxx (UpdateXxx or DeleteXxx) by creating the file CreateXxx.pm in /lib/MyApp/Action/. According to the class tree, they are different from other Action classes. So I constructed the skeleton like this: use strict; use warnings; package MyApp::Action::CreateXxx; use base qw/Jifty::Action::Record::Create MyWeblog::Model::Xxx/; 1; I thought this was good enough (although it does nothing right now). But it gave me bunch of errors when I tried to access the model, Xxx via administration menu. Deleting the file, it is ok. My questions are... 1. What is wrong? 2. Is there a way to generate the skeleton automatically like we generate MyApp::Action::Xxx and MyApp::Model::Xxx using Jifty? |
-----------
InSuk Joung
-----------
_______________________________________________ jifty-devel mailing list [email protected] http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
