[html-formfu] YAML::XS problem

Ascii King tech at swattermatter.com
Mon Dec 7 21:10:43 GMT 2009


Brian Cassidy wrote:
> Just wrap %n in single quote: '%n' -- that'll make YAML::XS happy.

That worked. Thanks. I have one other error now. I suspect it is the 
same type of problem.

The system tries to read a form with a load_config_file command in it 
and it reports that it cannot find that file. Do I need to change the 
format for this line?

This form:

---
indicator: submitted
auto_id: '%n'
attributes:
  class: labelsAbove hintsTooltip

elements:

  - type: Fieldset
    legend: OMTS Prior Approval Application
#  - type: Block
    load_config_file:

# FORMS
      - prior/hidden_fields.yml



gives this error:

Caught exception in OMTSWeb::Controller::Prior->new_prior "config file 
'prior/hidden_fields.yml' not found at 
C:/Perl/site/lib/Catalyst/Controller/HTML/FormFu/Action/Config.pm line 35
at C:/Perl/site/lib/Catalyst/Controller/HTML/FormFu/Action/Config.pm line 35
at C:/Perl/site/lib/Catalyst/Controller/HTML/FormFu/Action/Config.pm 
line 35"




More information about the HTML-FormFu mailing list