Re: [html-formfu] problem with setting options on select element

2009-03-13 Thread mohanprasad
Carl Franks wrote: > > 2009/3/13 mohanprasad : >> >> Hello, >> >> I am trying to set options for a select element in a form. >> my code is as follows >> >> sub content :Chained('stash_product_name') PathPart('') Args(0) >> FormMethod('load_form') { >>    my ($self, $c) = @_; >>    $c->stash->{'

Re: [html-formfu] problem with setting options on select element

2009-03-13 Thread Carl Franks
2009/3/13 mohanprasad : > > Hello, > > I am trying to set options for a select element in a form. > my code is as follows > > sub content :Chained('stash_product_name') PathPart('') Args(0) > FormMethod('load_form') { >    my ($self, $c) = @_; >    $c->stash->{'template'} = "restricted/add/sample.t

[html-formfu] problem with setting options on select element

2009-03-13 Thread mohanprasad
Hello, I am trying to set options for a select element in a form. my code is as follows sub content :Chained('stash_product_name') PathPart('') Args(0) FormMethod('load_form') { my ($self, $c) = @_; $c->stash->{'template'} = "restricted/add/sample.tt"; my $cc = $c->user->country || '