[html-formfu] select element with options attribute slowdown
list at funkreich.de
Thu May 10 15:03:37 GMT 2007
I have a somewhat weird problem with select elements that use the
options attribute to specify name/value pairs.
On one of our systems everything works fine whereas on two other systems
the following element in our YAML file tremendously slows down form
- type: select
options: [ [ '', 'Month' ], [ 1, 'January' ], [ 2, 'February' ] ... ]
The following error message is thrown repeatedly (about 30 times with
some noticable delay between them) in the Catalyst error log:
Use of uninitialized value in hash element at
/Library/Perl/5.8.6/HTML/FormFu/Element/group.pm line 108.
(Yes, this is OS X but I'm having the same problem under Linux on
a second machine. On the third Linux machine everything runs just fine.
All machines use the latest SVN trunk for HTML::FormFu and
We have a couple of those elements in one of our form and the Catalyst
action that builds the form takes approximately 10 seconds according to the
Catalyst log (the action does nothing except utilizing C::C::HTML::FormFu's
FormConfig attribute). The test suite doesn't report any errors.
Furthermore I'd like to know how HTML::FormFu compares in terms of
performance with other form engines. I'm somewhat sceptical about how
a form is assembled with all those TT snippets. Has anyone performed some
Thanks a lot!
_______________________________________________ _ _
More information about the HTML-FormFu