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 i
Byron Young wrote:
> 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 ru
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.
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() t
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 C::Plug
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.
--