Hi,
I have some markup I wish to repeat like so:
...
<h3><a href="#"><span wicket:id="workoutCategory">Blah Blah
Blah</span></a></h3>
<div wicket:id="activeGroup">
<p>
<ol wicket:id="workoutList" class="workoutList">
<li wicket:id="item"><span
wicket:id="label"><strong>Workout Name.</strong></span></li>
</ol>
</p>
</div>
...
So I wrapped the whole thing inside a <div wicket:id="container"> like so:
<div wicket:id="container">
<h3><a href="#"><span wicket:id="workoutCategory">Blah Blah
Blah</span></a></h3>
<div wicket:id="activeGroup">
....
</div>
</div>
and use a RepeatingView rv = new RepeatingView("container");
This works fine except the resulting HTML still contains the outer div
to appear which causes the markup to break since it relies on Jquery to
attach some classes, etc and is not expecting the outer div's.
I've tried rv.setRenderBody(false) which works for wicket Label's if you
don't want to display the span tag but doesn't work here. Does anyone
have any idea of how to not display the RepeatingView markup of div tags?
Thanks a bunch. Jason
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]