Thank you. I knew it is that easy.
 
Dirk

 
2006/2/16, Martijn Dashorst <[EMAIL PROTECTED]>:
set 'setRenderBodyOnly(true)' on your list item. That'll fix the span problem

Martijn



On 2/16/06, Dirk Markert < [EMAIL PROTECTED] > wrote:
Given a loop (ListView, Loop or Repeater) such as:
 
<span wicket:id="loop">
    <a href="" wicket:id="item"><img wicket:id="image" /></a>
</span>
 
Is it possible to yield an html result as:
 
<span wicket:id="loop">
  <a href="" wicket:id="item"><img wicket:id="image" src="">
  <a href="" wicket:id="item"><img wicket:id="image" src="" /></a>
  ....
</span>
 
I do not want to repeat the span tag around my loop.
Only the body should be repeated.
 
 
Dirk



--
Living a wicket life...

Martijn Dashorst - http://www.jroller.com/page/dashorst

Wicket 1.1.1 is out: http://wicket.sourceforge.net/wicket-1.1

Reply via email to