What is the use case? Why do you want to do it? No way might not be correct, may be not a simple one. Which version are you using?
Juergen On 10/13/06, Bondarenko, Oleg <[EMAIL PROTECTED]> wrote: > ok, Juergen, my guess was wrong then. But does it mean there is no way to > dynamically disable the border markup and render only the border body? > Schade. ;) > > thanks anyway > Oleg > > -----Original Message----- > From: [EMAIL PROTECTED] on behalf of Juergen Donnerstag > Sent: Fri 10/13/2006 10:01 PM > To: [email protected] > Cc: > Subject: Re: [Wicket-user] display border conditionally > > 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 > > [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 > > > > > ------------------------------------------------------------------------- > 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
