Re: [Catalyst] Relations 1:M

2009-04-28 Thread neila
I have found my mistake in line 89. It should name: podmiot and it works! I have got a question : id_column is ok, but how can I choose option name in model_config? thx! 88 - type: Select 89 name: podmioty 90 label: Podmioty 91 model_config: 92 model: 'hubeDB::Podmioty' 93 resultset: 'hubeDB:

[Catalyst] Relations 1:M

2009-04-28 Thread neila
ta')); 59 } 60 else { 61$form->defaults_from_model($grupa); 62 } 63 } 64 else { 65 $c->response->redirect($c->uri_for('/umowy/lista')); 66 } 67 #my $form=$c->stash->{form}; 68 69 } My problem is: it doesn't work... I try find definition relations