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

Jan Papousek (Closed) (JIRA) jira-events at lists.jboss.org
Wed Dec 7 06:25:40 EST 2011


     [ https://issues.jboss.org/browse/RF-11121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Papousek closed RF-11121.
-----------------------------



Verified. It works in CR2.
                
> 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
>            Assignee: Brian Leathem
>            Priority: Trivial
>             Fix For: 4.1.0.Milestone4
>
>
> 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