Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3260

DataModel.setWrappedData should publish row change events even when it changes from one instance to other one

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.11, 2.0.8, 2.1.2
    • Component/s: JSR-314
    • Labels:
      None

      Description

      The base implementations of DataModel does not trigger a DataModelEvent when setWrappedData is called, changing the instance.

      It also should take care of the order of the instructions. If data is null it should call setRowIndex(-1) first and then _data = null.

      Note this operation is very rare, but still valid.

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              lu4242 Leonardo Uribe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: