[html-formfu] DBIx-Class-HTML-FormFu nested-params

Carl Franks fireartist at gmail.com
Mon Nov 5 21:30:07 GMT 2007


On 05/11/2007, Mario Minati <mario.minati at googlemail.com> wrote:
> On Monday 05 November 2007 17:59:19 Carl Franks wrote:
> > I've added support for nested-params toDBIx-Class-HTML-FormFu.
> >
> > To use it, you must provide a 'nested_base' key:
> >
> > $row->fill_formfu_values( $form, { nested_base => 'foo' } );
> >
> > This will only look at fields/values attached to the Block element
> > with nested_name 'foo'.
> >
> > I've also checked in experimental extended support for relationships,
> > but this _will_ be changing, so probably best to just ignore that for
> > now.
> >
> > If you want to run the DBIC tests, the db schema's changed, so you'll
> > have to delete your "t/test.db" file and create another by running
> > `sqlite3 t/test.db < t/create.sql`
>
> Ok,
> that looks even better than my code.

Sorry!
didn't realise you were working on it, had you checked it in anywhere?
I've not been keeping my eye on the DBIC folder.

Carl



More information about the HTML-FormFu mailing list