incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Starets (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Created: (ADFFACES-463) UIXTable.getSelectedRowData() does not check if selected row is still available
Date Fri, 20 Apr 2007 14:58:15 GMT
UIXTable.getSelectedRowData() does not check if selected row is still available
-------------------------------------------------------------------------------

                 Key: ADFFACES-463
                 URL: https://issues.apache.org/jira/browse/ADFFACES-463
             Project: MyFaces ADF-Faces
          Issue Type: Bug
          Components: Components
            Reporter: Max Starets


UIXTable should call model.isRowAvailable() before calling model.getRowData().

If the row has been removed during the 'invoke application' phase, a call to getSelectedRowData()
throws an Illegal Argument exception. This was tested with the data model adapted from the
ArrayList. Note that ArrayDataModel does not check whether the its current index is valid.

getSelectedRowData() should return null if the selected row is not available.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message