[Catalyst] HTML::Widget and output into a html table
Matt S Trout
dbix-class at trout.me.uk
Thu Feb 9 21:31:58 CET 2006
On Thu, Feb 09, 2006 at 11:56:59AM -0800, John Wang wrote:
> On 2/9/06, Pfister Andreas <Pfister_Andreas at hispeed.ch> wrote:
> >
> > I like to create html form <form> dynamicly with HTML::Widget and to have
> > a output like
> > <table>
> > <form xxxxx>
> > *<tr><td>*INPUT 1*</td><td>*<input type="text">*<td></tr>*
> > <tr><td>INPUT 1<........................
> >
> > Any hints how to get this output ? I tested the css example but I was not
> > so happy with output.
>
>
> Are you not happy with the default CSS or the DOM structure? If the default
> CSS is bothering you, learning CSS layout would be the way to go. If the DOM
> structure doesn't let you do what you want with CSS, perhaps the DOM
> structure can be modified.
>
> I don't think H::W supports tables so if you want to use tables for layout,
> you may need to do form generation outside of H::W but you can still use it
> for validation.
[% USE widget_stylesheet = XSLT('stylesheet.xsl');
widget.as_xml | $widget_stylesheet %]
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Catalyst
mailing list