You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2011/08/05 04:59:27 UTC

[jira] [Created] (MYFACES-3260) DataModel.setWrappedData should publish row change events even when it changes from one instance to other one

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

                 Key: MYFACES-3260
                 URL: https://issues.apache.org/jira/browse/MYFACES-3260
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MYFACES-3260) DataModel.setWrappedData should publish row change events even when it changes from one instance to other one

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3260.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.2
                   2.0.8
                   1.2.11

> DataModel.setWrappedData should publish row change events even when it changes from one instance to other one
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3260
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3260
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 1.2.11, 2.0.8, 2.1.2
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira