On 10/31/07, Scott Wall-gmail <[EMAIL PROTECTED]> wrote: > I apologize if the answer to the question is obvious as I am just > acquainting myself with the Catalyst framework and Perl in general. I am a > java and ruby developer by background. How does one programmatically access > the list of options in a HTML::FormFu::Element::Select option list? As a > form is loaded via $form->load_config_file( $my_yml_file ) I'd like to set a > given option as selected based on data pulled from the database, but the > option list appears to be a nested arrayref that I can't seem to manipulate. > If you use DBIx::Class you might have a look at HTML::FormFu::DBIC in the svn repository - it does pull the option from the DB and then helps with saving them.
Cheers, Zbyszek http://perlalchemy.blogspot.com _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.rawmode.org http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu