[ 
https://issues.apache.org/jira/browse/WICKET-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790126#action_12790126
 ] 

Martijn Dashorst commented on WICKET-2546:
------------------------------------------

Actually a TABLE may have any number ( > 1) of TBODY elements:

<!ELEMENT TABLE - -
     (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>


> DataTable does not generate "thead" tag
> ---------------------------------------
>
>                 Key: WICKET-2546
>                 URL: https://issues.apache.org/jira/browse/WICKET-2546
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4.3
>            Reporter: Adam
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.4.4, 1.5-M1
>
>
> The tables generated by DataTable component in the current version of Wicket 
> (1.4.3) do not contain <thead> in the output HTML.
> It was working correctly in wicket 1.4.0 but there were some changes to fix 
> other issues - see WICKET-2436
> To replicate - launch the wicket-examples-1.4.3.war and look at the DataTable 
> example:
> http://localhost:8081/wicket-examples-1.4.3/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage
> If you check the HTML source you will see it does not contain thead tag:
> {html}
> <table class="dataview" cellspacing="0">
>       <tr class="navigation">
> {html}
> When you look at 
> http://www.wicket-library.com/wicket-examples/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage
> it shows:
> {html}
> <table class="dataview" cellspacing="0">
> <thead>
>       <tr class="navigation">
> {html}
> Must be a previous version? :-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to