[html-formfu] patch to use a model with a different namespace

Carl Franks fireartist at gmail.com
Mon May 5 14:14:38 BST 2008


2008/5/5 Mario Silva <marricardo at gmail.com>:
> Hi all,
>
> The way FormFu is now, we cannot specify a model from a different namespace.
> For example, if I specify a model like this:
>
> default_model => 'My::Name::Space::Model'
>
> it will be seen like:
>
> HTML::FormFu::Model::My::Name::Space::Model
>
> this may not be what we want.
>
> so if you put your model like this:
>
> default_model => '+My::Name::Space::Model'
>
> it will be seen correctly ;)

Thanks - I've committed it.

Cheers,
Carl



More information about the HTML-FormFu mailing list