You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Kaspar Fischer <fi...@inf.ethz.ch> on 2008/10/02 22:15:22 UTC

Re: [XHTML validation] Rootless AbstractTree outputs empty table

I have filed a JIRA improvement ticket for this:

   https://issues.apache.org/jira/browse/WICKET-1856

Kaspar

On 17.09.2008, at 11:12, Kaspar Fischer wrote:

> I have a rootless BaseTree and see it output
>
>  <table style="display:none" id="tree1f_0"></table><table  
> class="wicket-tree-content" id="tree1f_1"><tr>...
>
> which according to http://validator.w3.org is invalid strict XHTML.  
> Looking at the
> comment in the code, AbstractTree.onRender(), it appears that the  
> indention there is
> to output a div and not a table, which would validate:
>
>  <div style="display:none" id="tree1f_0"></div><table class="wicket- 
> tree-content" id="tree1f_1"><tr>...
>
> Or was there a particular reason to fetch the tagName from the  
> markupStream in the
> code, instead of just hardcoding it to "div"?
>
> Thanks,
> Kaspar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org