[Catalyst] Date field error

Kalman Kiss ssikiss at zalaszam.hu
Mon Dec 10 08:57:09 GMT 2007


Hi,

im using FormFu through Catalyst::Controller::HTML::FormFu and i get an 
exception, when i include the following date field
spec in the yml file:

  - type: Date
    name: birthdate
    label: 'Születési idő'
    day:
      - prefix: "- Nap -"
    month:
      - prefix: "- Hónap -"
    year:
      - prefix: "- Év -"
    auto_inflate: 1

|Caught exception in FooApp::Controller::Admin::User->create "Bad index while coercing array into hash at /usr/lib/perl5/site_perl/5.8.5/HTML/FormFu/Attribute.pm line 51.
 at /usr/lib/perl5/site_perl/5.8.5/Catalyst/Controller/HTML/FormFu/Action/Config.pm line 35
 at /usr/lib/perl5/site_perl/5.8.5/Catalyst/Controller/HTML/FormFu/Action/Config.pm line 35"


What am i doing wrong?

Regards,
Kami

|




More information about the Catalyst mailing list