[
https://issues.jboss.org/browse/RF-11860?page=com.atlassian.jira.plugin.s...
]
Brian Leathem resolved RF-11860.
--------------------------------
Resolution: Done
It seems _<thead>_ renders with _<th>_ elements, and _<tfoot>_ renders
with _<td>_ elements.
I suppressed the html scope attribute when the element is not th.
Alternatively, we could look changing the _<tfoot>_ to render with _<th>_
elements.
Data table: The scope attribute on the td element is obsolete
-------------------------------------------------------------
Key: RF-11860
URL:
https://issues.jboss.org/browse/RF-11860
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: compatibility, component-tables
Affects Versions: 4.1.0.Final
Environment: RichFaces 4.1.1-SNAPSHOT
Metamer 4.1.1-SNAPSHOT r.23118
Mojarra 2.1.5
JBoss AS 7.1.0.CR1
OpenJDK Runtime Environment 1.6.0_22-b22 @ Linux
Chrome 16.0.912.63 @ Linux i686
Reporter: Pavol Pitonak
Assignee: Brian Leathem
Priority: Minor
Fix For: 4.2.0.CR1
The column footer is rendered as in following code snippet (can be reproduced in Metamer
http://localhost:8080/metamer/faces/components/richDataTable/facets.xhtml):
{code:xml}
<tfoot id="form:richDataTable:tf" class="rf-dt-tft">
<tr id="form:richDataTable:cf" class="rf-dt-sftr">
<td class="rf-dt-sftr-c" scope="col">
<span id="form:richDataTable:columnFooterState">State
Footer</span>
</td>
<td class="rf-dt-sftr-c" scope="col">
<span id="form:richDataTable:columnFooterCapital">Capital
Footer</span>
</td>
</tr>
<tr id="form:richDataTable:f" class="rf-dt-ftr">
<td class="rf-dt-ftr-c" colspan="2"
scope="colgroup">
<span id="form:richDataTable:footer">Footer</span>
</td>
</tr>
</tfoot>
{code}
Attribute *scope* on element td is obsolete in HTML5 and should be set on th element
instead.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira