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 (Created) (JIRA)" <de...@myfaces.apache.org> on 2011/10/27 18:20:32 UTC

[jira] [Created] (MYFACES-3379) PostAddToViewEvent should be propagated to UIViewRoot

PostAddToViewEvent should be propagated to UIViewRoot
-----------------------------------------------------

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


Doing some tests about PostAddToViewEvent, I notice this event is not called for UIViewRoot after the view is built. 

The solution is do it manually on buildView() method after the view is populated.

There is another bug in 2.1.x branch related to markInitialState call. In MYFACES-3367, it was used "javax.faces.IS_BUILDING_INITIAL_STATE" to detect if the view is build by first time, but in 2.1.x it is used to indicate if we call markInitialState or not. We need another different flag for that purpose, so I change it to "org.apache.myfaces.MARK_INITIAL_STATE" and fix "javax.faces.IS_BUILDING_INITIAL_STATE" to set and remove it like in 2.0.x branch. 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MYFACES-3379) PostAddToViewEvent should be propagated to UIViewRoot

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

Leonardo Uribe resolved MYFACES-3379.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4
                   2.0.10
    
> PostAddToViewEvent should be propagated to UIViewRoot
> -----------------------------------------------------
>
>                 Key: MYFACES-3379
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3379
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.10, 2.1.4
>
>
> Doing some tests about PostAddToViewEvent, I notice this event is not called for UIViewRoot after the view is built. 
> The solution is do it manually on buildView() method after the view is populated.
> There is another bug in 2.1.x branch related to markInitialState call. In MYFACES-3367, it was used "javax.faces.IS_BUILDING_INITIAL_STATE" to detect if the view is build by first time, but in 2.1.x it is used to indicate if we call markInitialState or not. We need another different flag for that purpose, so I change it to "org.apache.myfaces.MARK_INITIAL_STATE" and fix "javax.faces.IS_BUILDING_INITIAL_STATE" to set and remove it like in 2.0.x branch. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira