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">
  <span wicket:id="navigationBorder"> 
   <b>Navigation Links</b>
   <wicket:link>
    <ul><li><a href="someThing.html">test</a></ul>
   </wicket:link>
  </span>
  <span wicket:id="bodyBorder" id="bodyBorder">
   <wicket:body/>
  </span>
 </div>
 <span wicket:id="footer" id="bodyBorder">Footer Info</span>
</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. <span
wicket:id="navigationBorder"> is rendered normal and after this it is
rendered within a table:
<span id="navigationBorder">
 <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%">
       <b>Navigation Links</b>
...

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

Reply via email to