Exactly what I need! And the usecase is also mine!
I would really appreciate such a border component. Is there a workaround in the current version (1.2) to emulate such behavior? Oleg -----Original Message----- From: [EMAIL PROTECTED] on behalf of Johan Compagner Sent: Sat 10/14/2006 11:19 AM To: wicket-user@lists.sourceforge.net Cc: Subject: Re: [Wicket-user] display border conditionally Usecase could be that you want to light up the importand fields to fill in if they are not filled in. Thinking about that we should have a border that works like swing borders if possible so not wrap a component in a border but just giving the component a border: component.setBorder(borderComponent) and a borderComponent can generate markup that must be before and after the components tags.. Then it is really like a border that also can be set to none visible. johan On 10/13/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: 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 < <mailto:[EMAIL PROTECTED]> [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: wicket-user@lists.sourceforge.net > 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 > > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > &kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > <https://lists.sourceforge.net/lists/listinfo/wicket-user> > > 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> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > <mailto:Wicket-user@lists.sourceforge.net> 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 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > &kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > <https://lists.sourceforge.net/lists/listinfo/wicket-user> > 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> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list <mailto:Wicket-user@lists.sourceforge.net> Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
<<winmail.dat>>
------------------------------------------------------------------------- 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