[
https://issues.apache.org/jira/browse/WICKET-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132772#comment-13132772
]
Sander Plas commented on WICKET-4153:
-------------------------------------
What's exactly the advantage of using THEAD/TFOOT/TBODY instead of just TR's?
Is it just layout/css related?
Anyway, i just wanted to add that using plain TR's for everyting would probably
solve *this* problem, as long as at least one toolbar is displayed.
Sven; i see that the ticket is still open, is that intentional?
If this is the final decision on this matter, i'm going to ask dashorst to add
this one to wicketstuff htmlvalidator's "ignore known wicket bugs" filter.
> The tbody section of a DataTable is empty when no records are returned by the
> provider.
> ---------------------------------------------------------------------------------------
>
> Key: WICKET-4153
> URL: https://issues.apache.org/jira/browse/WICKET-4153
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5.1
> Reporter: Bertrand Guay-Paquet
> Assignee: Sven Meier
> Priority: Trivial
> Labels: datatable
> Fix For: 1.5.3
>
> Attachments: DataTable.patch
>
>
> When a DataTable is rendered without records, the tbody section is empty.
> This violates the html spec.
> From the spec:
> "When present, each THEAD, TFOOT, and TBODY contains a row group. Each row
> group must contain at least one row, defined by the TR element."
> and
> "The THEAD, TFOOT, and TBODY sections must contain the same number of
> columns."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira