Use a Panel or a Fragment.

RepeatingView rv = new RV("repeater");
Panel p = new Panel(rv.newChildId());
p.add(new Label("label1", ...));
....

On Mon, Jun 13, 2011 at 7:15 AM, wmike1...@gmail.com
<wmike1...@gmail.com> wrote:
> The only example the wicket docs give of a repeatingView is one with 1 html
> element in the repeater's markup:
>
> <ul><li wicket:id="repeater"></li></ul>
>
> If I wanted something like:
> <div wicket:id="repeater">
>      <div wicket:id="label1"></div>
>      <div wicket:id="label2"></div>
> </div>
>
>
> Is this even possible with a repeatingView? Or is it more suitable for a
> ListView? Thanks
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/repeatingview-or-listview-help-tp3593171p3593171.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to