[
https://issues.apache.org/jira/browse/MYFACES-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Manfred Geiler updated MYFACES-1764:
------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.1-SNAPSHOT
1.1.6-SNAPSHOT
Assignee: Manfred Geiler
Status: Resolved (was: Patch Available)
applied the patch
> always render <tr><td> if a datatable has no rows to stay html/xhtml dtd
> conformant?
> ------------------------------------------------------------------------------------
>
> Key: MYFACES-1764
> URL: https://issues.apache.org/jira/browse/MYFACES-1764
> Project: MyFaces Core
> Issue Type: Improvement
> Components: General
> Reporter: Manfred Geiler
> Assignee: Manfred Geiler
> Priority: Minor
> Fix For: 1.1.6-SNAPSHOT, 1.2.1-SNAPSHOT
>
> Attachments: always_tr_in_tbody.patch
>
>
> According to dtd (html and xhtml) a <tbody> must not be empty. it must at
> least have one <tr> which must at least have one <td>.
> And in xhtml each <table> must have a <tbody>.
> So, what should the dataTable render when there is a rowCount of 0?
> Perhaps just rendering <tbody><tr><td></td></tr></tbody> is ok? Empty cells
> won't be rendered anyway.
> But is it really ok for all browsers?
> WDYT?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.