[richfaces-issues] [JBoss JIRA] (RF-12004) rich:dataTable. DataModel data & rowIndex are not synchronized when using breakRowBefore
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Tue Mar 6 14:26:36 EST 2012
[ https://issues.jboss.org/browse/RF-12004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-12004:
-------------------------------
Fix Version/s: 4.Future
> rich:dataTable. DataModel data & rowIndex are not synchronized when using breakRowBefore
> ----------------------------------------------------------------------------------------
>
> Key: RF-12004
> URL: https://issues.jboss.org/browse/RF-12004
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.1.0.Final
> Reporter: Logan MAUZAIZE
> Priority: Minor
> Labels: DataModel, breakRowBefore, isRowAvailable, rich:dataTable, rowData, rowIndex
> Fix For: 4.Future
>
>
> When activating breakRowBefore, the rowIndex of DataTable is using _physical_ row (TR tag) where as rowData is using _logical_ row.
> It causes the following incorrect behaviors (when selecting a valid line) :
> _if physical row index is greater than (or equal to) logical row count_
> * isRowAvailable() returns false
> * getRowData() throws NoRowAvailableException
> * Using both getRowIndex() and source data (ie from a backing-bean) causes RowIndexOutOfBoundException
> _if physical row index is lower than logical row count and greather than zero_
> * getRowData() doesn't return the matching row data
> * Using both getRowIndex() and source data (ie from a backing-bean) doesn't return the matching row data
> Note: Row filter usage haven't been tested and may cause more unexpected behavior.
--
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