You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Manfred Geiler (JIRA)" <de...@myfaces.apache.org> on 2007/11/08 15:50:50 UTC

[jira] Updated: (MYFACES-1764) always render if a datatable has no rows to stay html/xhtml dtd conformant?

     [ https://issues.apache.org/jira/browse/MYFACES-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manfred Geiler updated MYFACES-1764:
------------------------------------

    Status: Patch Available  (was: Open)

> 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
>            Priority: Minor
>         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.