Thorsten, Yes, that's exactly how BoxBorder draws the box/border. You'd probably prefer to use CSS.
Regards - Cemal http://www.jWeekend.co.uk jWeekend Thorsten Scherler-3 wrote: > > Hi all, > > I am playing around with wicket and have a question. > > http://wicket.apache.org/examplenavomatic.html > > is the page I am following to develop a custom application. > > in my html I have > <wicket:border> > <div id="content"> > > Navigation Links > <wicket:link> > <ul><li> someThing.html test </ul> > </wicket:link> > > > <wicket:body/> > > </div> > Footer Info > </wicket:border> > > and in my java class I have: > > public class NavomaticBorder extends Border { > public NavomaticBorder(final String componentName) { > super(componentName); > add(HeaderContributor.forCss("css/default.css")); > add(new BoxBorder("navigationBorder")); > add(new BoxBorder("bodyBorder")); > add(new Footer("footer")); > } > } > > However in my resulting page I have a tabled rendered within. is rendered > normal and after this it is > rendered within a table: > > <table width = "0%" border = "0" cellspacing = "0" cellpadding = "1" > bgcolor = "black"> > <tr> > <td width = "100%" valign = "top"> > <table width = "100%" border = "0" cellspacing = "0" cellpadding = "4" > bgcolor = "white"> > <tr> > <td width = "100%"> > Navigation Links > ... > > I suspect that it may be because of new BoxBorder but I am not sure. > > Basically my question is: how to tell wicked to NOT render the table? > > TIA for any hints > > salu2 > > > -- > Thorsten Scherler <thorsten.at.apache.org> > Open Source Java <consulting, training and solutions> > > Sociedad Andaluza para el Desarrollo de la Sociedad > de la InformaciĆ³n, S.A.U. (SADESI) > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/wicket%3Aborder-is-adding-table-tp21014647p21014999.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org