well, judging by your markup i dont see you setting a css class on anything...so it doesnt look like using the border gets you anything
-igor On 8/30/07, Cristina <[EMAIL PROTECTED]> wrote: > > > Hi Igor, > > I haven't found out a better solution as I don't need any special > rendering > in this case. On one hand, maybe I could have changed the line color to > white, which is the background color right now. Still, since the styling > is > defined in a CSS file, I don't need to do that... Would you agree with me? > > On the other hand, if I extend Border in PlainBorder.java I need to > provide > something in PlainBorder.html... Anyway, if you can figure out a better > solution, please let me know. > > Thank you, > > Cristina > > > > igor.vaynberg wrote: > > > > what exactly is a point of having a border with markup like that if it > is > > basically a noop > > > > -igor > > > > > > On 8/30/07, Cristina <[EMAIL PROTECTED]> wrote: > > > >> Hi Thies, > >> > >> thanks for your prompt reply. I've created a PlainBorder class which > >> extends > >> Border and provided this "empty" markup as I'm trying to use CSS-only > >> styling: > >> > >> <html> > >> <head> > >> <title></title> > >> </head> > >> <body> > >> <wicket:border> > >> <wicket:body/> > >> </wicket:border> > >> </body> > >> </html> > >> > >> It's working as expected. > >> > >> Regards, > >> > >> Cristina > >> > >> > >> Thies Edeling wrote: > >> > > >> > > >> > If you look at BoxBorder.html you'll see that the black line is > >> > hardcoded. BoxBorder however doesn't contain any functionality, just > >> > create your own class extending Border and provide your own style. > >> > > >> > Cristina wrote: > >> > > >> >> Hello, > >> >> > >> >> would it be possible to do that? I've looked at BoxBorder API but I > >> >> haven't > >> >> found any method that would set the black line as not visible. > >> >> > >> >> [...] > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Rendering-a-BoxBorder-without-the-black-line-border-tf4357178.html#a12419246 > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > View this message in context: > http://www.nabble.com/Rendering-a-BoxBorder-without-the-black-line-border-tf4357178.html#a12420336 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
