I wouldn't suggest you to use Grid component. The easiest way is to use
<table> directly with some tapestry components. Your template will be like
below:
==========
<table>
<colgroup>
...
</colgroup>
<tr class="header">
...
</tr>
<t:loop source="your_value_list" value="your_value" t:volatile="true">
<tr>
<td class="required">
<input t:type="checkbox" value="your_value.boolean_value"/>
</td>
<td class="string">${your_value.label}</td>
<td class="required">
<input t:type="textfield" value="your_value.text_value"/>
</td>
</tr>
</t:loop>
</table>
========
The posted data in your action request will be automatically populated to
<your_value_list>.
cheers,
Jeffrey Ai
CarstenM wrote:
>
> Hello,
>
> I'd like to create a table with input fields (checkbox, textfield) inside
> a form.
> Does someone have an example?
>
> Help would be very nice. Need a solution for it to finish first version of
> my application.
>
> (Asked for that in other threads already, but nobody answered......
> probably more important things to do.....)
>
> Thanks a lot
> Carsten
>
--
View this message in context:
http://www.nabble.com/T5.0.6%3A-Table-with-input-fields-inside-a-form--tf4837005.html#a13840415
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]