tag:blogger.com,1999:blog-36345871.post116134505314349604..comments2023-07-11T05:39:57.966-07:00Comments on Perl Alchemy - notes of a programmer: HTML::Widget versus RoR helperszbyhttp://www.blogger.com/profile/04636763782334128869noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-36345871.post-1162218327829913382006-10-30T06:25:00.000-08:002006-10-30T06:25:00.000-08:00I've edited H::W, to make it possible to add a 'Fi...I've edited H::W, to make it possible to add a 'Field' type element to achieve this.<BR/><BR/>$widget->element(Field => foo);<BR/>$result->field_xml( foo => 'Textfield', %attrs );<BR/><BR/>which could of course be called from TT with:<BR/>result.field_xml( foo, Textarea, cols, 30, rows, 5 )<BR/><BR/>I haven't committed it to svn yet though, as I'd like to get some feedback first on what other sort of features you'd like, as I'm guessing some might require architectural changes.<BR/><BR/>btw, are you subscribed to the h-w mailing list? I sent a response to this blog post to the list last week. If you want to discuss this further, I'd much rather see the conversation happen there, where other h-w contributors hang out.<BR/>Carl FranksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-36345871.post-1161808263600969312006-10-25T13:31:00.000-07:002006-10-25T13:31:00.000-07:00Yes, I agree with you. HTML::W is a great tool, bu...Yes, I agree with you. HTML::W is a great tool, but it's not so good for the auto generated code. People, especially in Perl community, want greater control of their code. I'd like to be able to move form elements around and do forms "my own way".Anonymousnoreply@blogger.com