[html-formfu] load_config_file

Octavian Râşniţă orasnita at gmail.com
Thu Nov 19 19:54:22 GMT 2009


Hello,

I have tried to use the following in a .config file:

<options>
value analiza-tehnica
label_loc Technical analysis
</options>

load_config_file a/options.conf

The file a/options.conf contains more other options.

But it gives the following error:

Caught exception in BRK::Controller::A->search "options argument must be an 
array-ref at E:/perl510/site/lib/HTML/FormFu/ObjectUtil.pm line 365
at E:/perl510/site/lib/Catalyst/Controller/HTML/FormFu/Action/FormConfig.pm 
line 37
at E:/perl510/site/lib/Catalyst/Controller/HTML/FormFu/Action/FormConfig.pm 
line 37"

If I use only the load_config_file line and I don't define another option 
than those that are in the a/options.conf file, then the program works.

Does anyone know why I can't combine these 2 ways of defining the select 
element options? (And how to solve this issue)

Thanks.

Octavian




More information about the HTML-FormFu mailing list