El lun, 15-12-2008 a las 06:40 -0800, jWeekend escribió: > Thorsten, > > Yes, that's exactly how BoxBorder draws the box/border. You'd probably > prefer to use CSS.
Can you, please, extend a wee bit? As I understand the border component: you can inject child content INTO a template page. The <wicket:body/> is the injection hook which get replaced by the child content. Like: <div wicket:id="myBorder"> <!-- Border markup --> <span wicket:id="myContent">content</span> <!-- Border markup --> </div> A panel does not allow a body meaning you can inject a panel into your page but not inject your page into a panel. <div wicket:id="myPanel"> <!-- Panel markup --> </div> So what I am looking for is a Border component that does not do any extra markup rendering. You say use css, I do not understand what you mean. salu2 > > 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 > > > > > > > -- 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