On Wed, 26 Mar 2008, Maurice Marrink wrote:
> In wicket you have to assign a Label to an Item or a Link. The
> corresponding markup would then be something like:
> <li wicket:id="item"><span wicket:id="label"></span></li>
> However it is possible to remove the span for the label from the final
> markup send to the browser by using label.setRenderBodyOnly(true);

Another functionally equivalent alternative is

  <li wicket:id="item">
    <wicket:container wicket:id="label"></wicket:container>
  </li>

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to