[
https://issues.jboss.org/browse/RF-11121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Val Blant updated RF-11121:
---------------------------
Description:
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.
was:
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.
> 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
>
> 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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues