[html-formfu] What is the correct approach

Carl Franks fireartist at gmail.com
Tue Sep 16 12:24:23 BST 2008


2008/9/16 Dermot <paikkos at googlemail.com>:
> 2008/9/16 Carl Franks <fireartist at gmail.com>:
>> 2008/9/15 Dermot <paikkos at googlemail.com>:
>>> Hi,
>>> I know there are issues with the above because I was in the process of
>>> correcting them but what I am confused about is should I be using
>>> Catalyst::Controller::HTML::FormFu or Catalyst::Model::FormFu
>>
>> I've only ever used Catalyst-Controller-HTML-FormFu, so I can't really
>> comment on Catalyst-Model-FormFu.
>>
>>> They seems to behave quite differently and the above gives me a
>>> serious error when I start up the app.
>>>
>>> Can someone give me some guidance?
>>
>> What error messages do you get?
>
> Hi Carl,
>
> I can recall the errors now. I was bambozalled by the number of
> perldocs returned from CPAN for a search for FormFU. I wasn't sure
> which was the right module to follow because there seems to be some
> incompatiablites between them. Off the top of my head the
>
> sub method : Local :FormConfig('users/add.yml')  does seem to work
> under Catalyst-Model-FormFu but does with
> Catalyst-Controller-HTML-FormFu.
>
> I guess the question should be, "What FormFu modules should you use
> with Catalyst?"

I would recommend using Catalyst-Controller-HTML-FormFu.

Also, use HTML-FormFu-Model-DBIC if you want DBIx-Class integration.

Carl



More information about the HTML-FormFu mailing list