
jjn1056 at yahoo
Feb 8, 2007, 12:12 PM
Post #3 of 3
(533 views)
Permalink
|
|
Re: MyAction for locally namespaced ActionClasses?
[In reply to]
|
|
--- Jason Kohles <email [at] jasonkohles> wrote: > On Feb 8, 2007, at 1:58 PM, John Napiorkowski wrote: > > > Hi, > > > > The manual file for Actions at > > > http://search.cpan.org/~jrockway/Catalyst-Manual-5.700501/lib/ > > > Catalyst/Manual/Actions.pod > > mentions that when you are adding Action classes > to an > > action, you can use "MyAction" instead of > > "ActionClass" if the Action class is in the local > > namespace. I can't seem to make this work no > matter > > what I try and grepping the source code doesn't > turn > > up any responses for MyAction. Is this an error > in > > the docs, or maybe the docs being too prescient? > Or > > am I just not using it correctly? IF anyone has a > > working example of this, please let me know. > > > I tried using it without success too, and came to > the conclusion that > it doesn't seem to have actually been implemented. > When I ran across > this issue I tried grepping the entire subversion > repository for > 'MyAction', and only found it in Catalyst-Manual. I > didn't have time > to look into it any deeper than that though... Yeah, that's what I thought as well. It's not a bad idea though, however I can understand wanting just one way to add the action class. Well, doing ActionClass('+myapp::Action::...') isn't too bad :) --john > > -- > Jason Kohles > email [at] jasonkohles > http://www.jasonkohles.com/ > "A witty saying proves nothing." -- Voltaire > > > > _______________________________________________ > List: Catalyst [at] lists > Listinfo: > http://lists.rawmode.org/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst [at] lists/ > Dev site: http://dev.catalyst.perl.org/ > ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html _______________________________________________ List: Catalyst [at] lists Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst [at] lists/ Dev site: http://dev.catalyst.perl.org/
|