[html-formfu] Options from model?

Andreas Marienborg omega at palle.net
Fri Feb 8 13:44:14 GMT 2008


On Feb 8, 2008, at 2:35 PM, Zbigniew Lukasiak wrote:

> On Feb 8, 2008 2:28 PM, Andreas Marienborg <omega at palle.net> wrote:
>> Hello.
>>
>> I have a DBIC-based schema, which I want to formfuify.
>>
>> I have migrated my form to config-files, and that seems to work
>> nicely, but I am having some trouble with populating my select-boxes
>> with options.
>>
>> I looked at the source of HTML::FormFu::Model::DBIC, and it had an
>> options_from_model method, but it only returns them. Should I  
>> manually
>> set them on the right element, or is there some way to automate it
>> that I just haven't found?
>
> It's called at process time (and more precisely in the post_process
> method on _Group object).
>
> Don't ask me why.

Where can I read how to configure ut to get my options?


- andreas



More information about the HTML-FormFu mailing list