[
https://issues.jboss.org/browse/RF-11765?page=com.atlassian.jira.plugin.s...
]
Brian Leathem resolved RF-11765.
--------------------------------
Fix Version/s: (was: 4.2.0.CR1)
Resolution: Won't Fix
On analysing the provided code sample I've concluded that the current behaviour is
correct. Consider the state while trying to count the number of columns while rendering
the footer:
While rendering the footer, no row is active, hence rowNbr cannot return 0 (that would
imply the 0th row is active). It counts the number of rendered columns to determine what
to use for the colspan - if a column is not rendered, it should not be included in the
count.
Hence the appropriate solution is indeed to alter the render logic of the column, so that
it is counted while rendering the footer.
Datatable footer cell doesn't use all columns (wrong colspan
generated)
-----------------------------------------------------------------------
Key: RF-11765
URL:
https://issues.jboss.org/browse/RF-11765
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 4.1.0.CR1
Reporter: Karsten Wutzke
Assignee: Brian Leathem
Labels: colspan, dataTable, footer
When specifying a datatable's header with rich:columnGroup and a rich:column in the
tbody that has rendered="#{rowKeyNbr eq 0}" the wrong colspan for the table
footer cell is generated.
For more details, code, and images please see the forum thread:
http://community.jboss.org/message/639211
--
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