Hi,

I'm using trunk rev. 991.
My yaml file looks like this:

elements:
  - type: Hidden
    name: count
  - type: Repeatable
    nested_name: recall_schedules
    counter_name: count
    model_config:
      DBIC:
        new_empty_row: start
    elements:
        ...

and my code

if ( $form->submitted_and_valid ) {
        my $row =  $c->user->recalls->new({ time => DateTime->now });
        $form->model('DBIC')->update($row);
}

It creates the row object, but not the schedules. Catalyst show these params:

.------------------------------------- +--------------------------------------. | Parameter | Value | +------------------------------------- +--------------------------------------+ | count | 1 | | recall_schedules.email_1 | 1 | | recall_schedules.start_1 | 10.02.1985 | | recall_schedules.starttime_1 | 9:00 | | title | Something | '------------------------------------- +--------------------------------------'

Did I miss something? I know this is still trunk :-)

cheers

moritz

_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to