do you want to hide just the tag or the entire component?

-igor


On 2/13/07, Conny Kühne <[EMAIL PROTECTED]> wrote:

But without the setRenderBodyOnly() the <div> still gets rendered (and
displayed). And that's what I wanted to avoid.


>You are pretty close :)
>You don't need the setRenderBodyOnly. You can actually just do:
>
>WebMarkupContainer currentTopicContainer = new
>WebMarkupContainer("divId"){
>public boolean isVisible() {
>return condition;
>}
>};

P.S. Maybe this mail gets posted in the wrong place since I forgot to
subscribe to the mailing list
and now I am answering manually.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to