[richfaces-issues] [JBoss JIRA] (RF-11121) dataTable does not close <TR> if last column is not rendered
Brian Leathem (Updated) (JIRA)
jira-events at lists.jboss.org
Tue Oct 4 17:51:15 EDT 2011
[ https://issues.jboss.org/browse/RF-11121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-11121:
-------------------------------
Fix Version/s: 4.1.0.CR1
(was: 4.1.0.Tracking)
> dataTable does not close <TR> if last column is not rendered
> ------------------------------------------------------------
>
> Key: RF-11121
> URL: https://issues.jboss.org/browse/RF-11121
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.0.0.Final
> Reporter: Val Blant
> Priority: Trivial
> Fix For: 4.1.0.CR1
>
>
> If the last _<rich:column />_'s _rendered_ attribute evaluates to false, the opened _<TR>_ tag will not be closed.
> The reason for this is a bug in _DataTableRenderer.encodeRow_ logic, where the code that closes the row tag is executed only if we render the last column.
> This needs to be fixed to always close the row tag, if it was opened.
> Short of overriding the renderer, the only workaround I see is to place an empty column at the end of the table, so it is always there.
--
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
More information about the richfaces-issues
mailing list