I've got a Catalyst application that I started building at one time with HTML::Widget
. However with a change in project author it is now deprecated with HTML::FormFu
in the works as a replacement (in svn and described here
, based in part on HTML::Widget and discussion going on in the H::W mailing list
). (A Catalyst controller exists for it too). FormFu seems maybe alpha or beta quality (API changing) but bugs show up as they did with H::W.
When I tried to copy some code to make a new form using H::W the as_xml() function outputted all the form elements jammed into one line which is discouraging.. I think I had this problem once before too but even if I solve it, I remember H::W was not all that easy, it was tough to extend and there was this container kludge that didn't work for me. I backed off the mailing list about when radio button grouping was being discussed.
Now I have to build an admin interface with, and since I found H::W hard to use as well, I am looking once again at Catalyst::Controller::FormBuilder (based on CGI::FormBuilder). It has YAML-like syntax which FormFu also seems to be aiming towards.
If anybody has experience/recommendations they would be much appreciated. Constraint checking, validation and printing of errors are really icing on top, mainly it has to be quick and easy to make forms, repopulate the form, and if possible link to DBIx::Class in Catalyst to some extent. It seems H::W requires too much code (hence the YAML development I presume). How do you like FormBuilder, especially with Catalyst / DBIx::Class ? Anybody using FormFu and think it is best? Each form will be for a number of fields from a given class with some other elements possibly from other classes.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||