setRenderBodyOnly() can be used to change the behavior. But it only prevent the component from writing the open and close tag. The "box" html markup associated with BoxBorder will not be disabled this way.
Juergen On 10/13/06, Bondarenko, Oleg <[EMAIL PROTECTED]> wrote: > Is it possible to change Border rendering dynamically? > > E.g. take the wicket.markup.html.border.BoxBorder, I want the body of the > border to display always, but the border itself only on some condition. > > I think if I could overwrite Component.getRenderBodyOnly() that would be it, > but unfortunately this method is final ;-( > > > > ------------------------------------------------------------------------- > 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 > Wicket-user@lists.sourceforge.net > 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user