[Catalyst] HTML::Widget and output into a html table
John Lifsey - Contractor -
john.lifsey at nrl.navy.mil
Thu Feb 9 23:37:32 CET 2006
Seeing those two lines of code is about the best thing thats happened to
my life with Catalyst since HTML::Widget.
++
Matt S Trout wrote:
> 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 %]
>
>
More information about the Catalyst
mailing list