<wicket:panel>
<table>
<tr>
<th wicket:id="columnNameRepeater">[column name here]</th>
<th>actions</th>
</tr>
<tr wicket:id="dataRowRepeater>
<td wicket:id="columnRepeater">[cell data here]</td>
<td><input type="submit" wicket:id="delete" value="delete"/></td>
</tr>
</table>
</wicket:panel>
-igor
On Fri, Jul 2, 2010 at 12:58 PM, duncan787 <[email protected]> wrote:
>
> I have been trying for several days to get this to work. I am trying to
> write a generic Wicket Panel that I can reuse to display columns and rows
> from any given datasource.
>
> The generic Panel needs to support a dynamic number of rows and a dynamic
> number of columns. Hence the nested repeaters. I can't get it to work and
> am dying trying! Any help would be GREATLY appreciated!
>
> <wicket:panel>
> <table>
> <tr>
> <th wicket:id="columnNameRepeater">[column name here]</th>
> </tr>
> <tr wicket:id="dataRowRepeater>
> <td wicket:id="columnRepeater">[cell data here]</td>
> <td wicket:id="not_a_repeater_only_one_column_needed_here">[Insert
> Button, Delete Button]</td>
> </tr>
> </table>
> </wicket:panel>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Nested-Repeaters-in-an-HTML-Table-Uggh-tp2276861p2276861.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]