You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by duncan787 <du...@gmail.com> on 2010/07/02 21:58:14 UTC
Nested Repeaters in an HTML Table -- Uggh!
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Nested Repeaters in an HTML Table -- Uggh!
Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Why not use DataGridView?
On Fri, Jul 2, 2010 at 9:58 PM, duncan787 <du...@gmail.com> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Nested Repeaters in an HTML Table -- Uggh!
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
What is your problem with this? Inheritance?
**
Martin
2010/7/2 duncan787 <du...@gmail.com>:
>
> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Nested Repeaters in an HTML Table -- Uggh!
Posted by Igor Vaynberg <ig...@gmail.com>.
<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 <du...@gmail.com> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Nested Repeaters in an HTML Table -- Uggh!
Posted by Zilvinas Vilutis <ci...@gmail.com>.
Show your component code and the error if you want someone to help this
problem fixed.
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cikasfm@gmail.com
On Fri, Jul 2, 2010 at 12:58 PM, duncan787 <du...@gmail.com> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>