[jifty-devel] Combobox in J::A::UpdateXxx

David Good dgood at willingminds.com
Tue Apr 24 02:06:58 EDT 2007


I'm trying to do a pretty easy UpdateXxx action but I want some of the fields
to be updated to be rendered as comboboxes.  I tried just adding "render as
'Combobox'" and "available are qw( 10 20 30 40 50 60 70 80 90 )" to the model
schema (the values are percentages), but when Jifty attempts to render them I
get:

WARN - Can't use an undefined value as an ARRAY reference at <perl_path>/lib/perl5/site_perl/5.8.8/Jifty/Web/Form/Field/Combobox.pm line 38.

Do I need to subclass MyApp::Action::Record::UpdateXxx just to be able to
render a combobox?  



More information about the jifty-devel mailing list