Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-298

UIXTable.getSelectedRowData() does not check if selected row is still available

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            adamwiner Adam Winer
            mstarets Max Starets
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: