2009/11/14 David Schmidt <[email protected]>:
> No, I tried that before
>
> Caught exception in IdeaChallenge::Controller::Forms->show "Error
> parsing /home/kvm/ic/trunk/IdeaChallenge/root/forms/forms/show.xml:
> Not a HASH reference at /usr/local/share/perl/5.10.0/Config/Any/XML.pm
> line 67.
> at /usr/local/share/perl/5.10.0/HTML/FormFu/ObjectUtil.pm line 502"
Are you using an old version of Config::Any?
Running 0.17 this works:
print HTML::FormFu->new->load_config_file('test.xml');
Against this file:
<?xml version="1.0"?>
<form>
<elements type="Text">
<label>Label1</label>
</elements>
<elements type="Text">
<label>Label2</label>
</elements>
<indicator>submit</indicator>
</form>
_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu