Re: [html-formfu] get_element method

2008-09-16 Thread Dermot
2008/9/16 Carl Franks <[EMAIL PROTECTED]>: > 2008/9/16 Dermot <[EMAIL PROTECTED]>: $select->options([EMAIL PROTECTED]); > > You need get_all_element(), which does a recursive search. > > get_element() only searches elements which are direct children of > whatever you're searching. > (and if yo

Re: [html-formfu] get_element method

2008-09-16 Thread Carl Franks
2008/9/16 Dermot <[EMAIL PROTECTED]>: > Hi, > > I cannot get the get_element method to work on my installation. > > Catalyst::Controller::HTML::FormFu > >my $select = $form->get_element({type => 'Select'}); # There > is only one select element in my yml form >$c->log->debug("Select

Re: [html-formfu] get_element method

2008-09-16 Thread Dermot
2008/9/16 Moritz Onken <[EMAIL PROTECTED]>: > > Am 16.09.2008 um 12:44 schrieb Dermot: > > Could you please provide us with the corresponding yaml file? This is the yml file. The Select is the 2nd from last element in the config. It's the only select in the config. --- #action: /add indicator: a

Re: [html-formfu] get_element method

2008-09-16 Thread Moritz Onken
Am 16.09.2008 um 12:44 schrieb Dermot: Hi, I cannot get the get_element method to work on my installation. Catalyst::Controller::HTML::FormFu my $select = $form->get_element({type => 'Select'}); # There is only one select element in my yml form $c->log->debug("Select=",$select

[html-formfu] get_element method

2008-09-16 Thread Dermot
Hi, I cannot get the get_element method to work on my installation. Catalyst::Controller::HTML::FormFu my $select = $form->get_element({type => 'Select'}); # There is only one select element in my yml form $c->log->debug("Select=",$select); $select->options([EMAIL PROTEC