Sure, if your repeated component has two children:

repeatingView.add(new WebMarkupContainer(repeatingView.newChildId()).add(new Label("label1")).add(new Label("label2")));

Sven

On 06/13/2011 06:15 AM, 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



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

Reply via email to