RE: [Catalyst] Base controllers and multiple inheritance

2008-03-06 Thread Byron Young
Peter Karman wrote: Byron Young wrote on 3/5/08 4:29 PM: Everything looks good, right? My List actions work! However, the CRUD actions don't work because the FormConfig actions seem to have been ignored -- $c-stash-{form} is undef :( I wouldn't expect anything in stash() to persist

Re: [Catalyst] Base controllers and multiple inheritance

2008-03-06 Thread Peter Karman
Byron Young wrote on 3/6/08 12:31 PM: $class-NEXT::new() doesn't do the right thing with this crazy diamond-ish inheritance I have, and I think using Class::C3 in my base classes while Catalyst::Controller and C::C::HTML::FormFu use NEXT is causing some problems. You might try the

Re: [Catalyst] Base controllers and multiple inheritance

2008-03-06 Thread Zbigniew Lukasiak
I would say don't use Catalyst::Controller::HTML::FormFu in that case - the functionality it provides is rather basic. By the way I am also working on a FormFu based CRUD Catalyst base class (continuation of Catalyst::Example::InstantCRUD). Looks like it has become fashionable thing recently.

Re: [Catalyst] Base controllers and multiple inheritance

2008-03-05 Thread Peter Karman
Byron Young wrote on 3/5/08 4:29 PM: Everything looks good, right? My List actions work! However, the CRUD actions don't work because the FormConfig actions seem to have been ignored -- $c-stash-{form} is undef :( I wouldn't expect anything in stash() to persist from request to request.

[Catalyst] Base controllers and multiple inheritance

2008-03-04 Thread Byron Young
Hi, I've been using Catalyst for a project and decided to make some base controllers for common functionality. So far I've made two: CRUD, and List, for standard database operations and for sortable, paged listings of data. They work fine on their own but I'm running into trouble with multiple