[html-formfu] nested params branch

Carl Franks fireartist at gmail.com
Sun Oct 28 13:15:26 GMT 2007

On 28/10/2007, Jonas Alves <jonas.alves at gmail.com> wrote:
> On 26/10/2007, Carl Franks <fireartist at gmail.com> wrote:
> >
> > You don't need to use Catalyst::Plugin::NestedParams - it shouldn't
> > interfere - but it's unnecessary.
> > - If you're not using Catalyst, don't use CGI::Expand, as this deletes
> > the original " foo.bar" param names, which will break HTML::FormFu.
> >
> Hi Carl,
> If the dotted parameters are required then it wont work with
> DBIC::Validation or with data coming from a JSON request. It is possible to
> make it work without them? If it is much work maybe Hash::Flatten may help.

If you set $form->nested_subscript(1), the fields will be generated
with "foo[bar]" names, rather than "foo.bar" - this should solve the
DBIC problem.

What's the problem with JSON? (and which JSON modules)?


More information about the HTML-FormFu mailing list