[html-formfu] Populate form using a complex hashref?

Carl Franks fireartist at gmail.com
Fri Feb 27 14:38:35 GMT 2009


2009/2/27 Moritz Onken <onken at houseofdesign.de>:
> Yes it's ExtJS stuff. I need hashrefs to feed a JSON encoder. I'm not sure
> yet how it should be implemented. But I think this is a good start.
>
> I attached a patch which adds the functionality to default_values(). Test
> t/form/default_values.t modified.

Do you think you'll write the new model class?
If so, I'd probably rather not also change HTML::FormFu::default_values().

btw, I prefer to try to avoid any kind of isa() logic - look instead
at methods such as:
    is_repeatable()
    is_block()
    is_field()

Cheers,
Carl



More information about the HTML-FormFu mailing list