That's odd. I changed one of my subconfigs to the following:
--- elements: - type: Fieldset legend: Test Fieldset element: - type: Text name: Test1 label: Test1 It displayed just fine. When I removed the elements line it complained that it couldn't find legend in HTML::FormFu I wish I could help more. On Thu, Mar 5, 2009 at 1:47 PM, Ascii King <t...@swattermatter.com> wrote: > I have tried it with just the three dashes. It just moves on to the next > error. > >> I notice that your sub configs don't have the '---' line... out of >> curiosity, what happens if you just add that line to the very beginning >> (leave all else as it is)? >> >> >> It does this. Just finds the next object method that isn't in > "HTML::FormFu::Element::Text" and reports it as an error. > > |If I remove those lines, it displays the button, but as a text >> field.| If I put in a fieldset it then gives me a similair error. >> >> - type: Fieldset >> legend: Test Fieldset >> element: >> >> - type: Text >> name: Test1 >> label: Test 1 >> >> The error it gives is : >> >> |"Can't locate object method "legend" via package >> "HTML::FormFu::Element::Text"| >> >> >> > _______________________________________________ > HTML-FormFu mailing list > HTML-FormFu@lists.scsys.co.uk > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu >
_______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu