[richfaces-issues] [JBoss JIRA] Updated: (RF-11121) dataTable does not close <TR> if last column is not rendered

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed Jul 20 02:38:24 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.Final


> 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
>             Fix For: 4.1.0.Final
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list