Re: [html-formfu] Populating options for Select elements

2009-06-13 Thread Mario Minati
Am Samstag 13 Juni 2009 17:08:46 schrieb Ferruccio Zamuner: > Carl Franks wrote: > > 2009/6/1 Nigel Metheringham : > >> Any chance you have some sample code showing this sort of usage? > > > > This is an example from my current project. > > > > $contenxt->stash->{group} is populated by a Chained ac

Re: [html-formfu] Populating options for Select elements

2009-06-13 Thread Ferruccio Zamuner
Carl Franks wrote: 2009/6/1 Nigel Metheringham : Any chance you have some sample code showing this sort of usage? This is an example from my current project. $contenxt->stash->{group} is populated by a Chained action. This is added to the Select element, so $self->parent refers to th

Re: [html-formfu] Populating options for Select elements

2009-06-02 Thread Carl Franks
2009/6/1 Nigel Metheringham : > > On 1 Jun 2009, at 13:36, Carl Franks wrote: > >> I achieve this by creating a custom plugin which inherits from >> HTML::FormFu::Plugin and defines a 'pre_process' method that does the >> heavy-work. > > Any chance you have some sample code showing this sort of usa

Re: [html-formfu] Populating options for Select elements

2009-06-01 Thread Nigel Metheringham
On 1 Jun 2009, at 13:36, Carl Franks wrote: I achieve this by creating a custom plugin which inherits from HTML::FormFu::Plugin and defines a 'pre_process' method that does the heavy-work. Any chance you have some sample code showing this sort of usage? Nigel. -- [ Nigel Metheringha

Re: [html-formfu] Populating options for Select elements

2009-06-01 Thread Carl Franks
2009/6/1 Nigel Metheringham : > I have a Catalyst/DBIx::Class app I am attempting to convert to HTML::FormFu > (using latest currently available HTML::FormFu modules from CPAN). > > Within a form I have a Select element. > It appears the possibilities for the options of the select element are that

[html-formfu] Populating options for Select elements

2009-06-01 Thread Nigel Metheringham
I have a Catalyst/DBIx::Class app I am attempting to convert to HTML::FormFu (using latest currently available HTML::FormFu modules from CPAN). Within a form I have a Select element. It appears the possibilities for the options of the select element are that I can either specify a set of po