As we say in Australia - you little ripper mate.
 
listItem.setRenderOnly(true) did it.
 
Thanks mate
 
Kevin


From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 30 November 2005 3:50 PM
To: [email protected]
Subject: Re: [Wicket-user] Trying to be clever with a ListView

Maybe i dont understand

add(new Label("label", "test").setRenderBodyOnly(true));
<span wicket:id="label">[label]</span>

will render as

test

instead of
<span wicket:id="label">test</span>

isnt that what you want? also dont forget to call it on listitems in listview.populate()

-Igor


On 11/29/05, Vinsen, Kevin <[EMAIL PROTECTED]> wrote:
Nah removed the wicket:blah tags, but I need to remove the actual spans
 
Kevin


From: Igor Vaynberg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 30 November 2005 3:33 PM
To: [email protected]
Subject: Re: [Wicket-user] Trying to be clever with a ListView

if you call setRenderBodyOnly(true) on components, they will not render tags they are attached to. should fix your problem.

-Igor

DISCLAIMER:--------------------------------------------------------------------------- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. --------------------------------------------------------------------------------------

DISCLAIMER:--------------------------------------------------------------------------- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. --------------------------------------------------------------------------------------

Reply via email to