--- Brian Kirkbride <[EMAIL PROTECTED]> wrote: > Juan Camacho wrote: > > I have an existing catalyst plugin where I would > like to set a stash > > item after the Controller is called but before the > View is executed. > > One way of doing this is by simply creating a > custom ActionClass that > > sets the stash item. Is there a way to > dynamically add an ActionClass > > from within the plugin code? I want to avoid > adding instructions for > > existing plugin users to write "sub foo : > ActionClass('Bar')" in their > > controllers, and breaking backward compatability. > > > > Besides the ActionClass approach is there another > way to do this? > > > > Juan > > > > > This might be another case that would benefit from > the "end-time auto" feature > that has been discussed before. Since we have > begin/end, I would favor an > auto/post_auto as well. Any better name > suggestions? :)
The post_auto in principle seems like a good idea, if only for completeness sake, but since I wouldn't know how to write it I should really say anything :) --john > > Best, > Brian Kirkbride > > _______________________________________________ > List: Catalyst@lists.rawmode.org > Listinfo: > http://lists.rawmode.org/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst@lists.rawmode.org/ > Dev site: http://dev.catalyst.perl.org/ > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/