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


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.

Reply via email to