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 2010/01/19 02:06:54 UTC

[jira] Created: (MYFACES-2494) Component branches saved with PSS needs to be wrapped

Component branches saved with PSS needs to be wrapped
-----------------------------------------------------

                 Key: MYFACES-2494
                 URL: https://issues.apache.org/jira/browse/MYFACES-2494
             Project: MyFaces Core
          Issue Type: Task
          Components: JSR-314
    Affects Versions: 2.0.0-alpha
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


When the tree is built and a component that is on that tree is removed and added, when a postback occur it is not restored, because the algorithm are not detecting this case. 

The easiest solution is wrap all saved branches on a class like AttachedFullStateWrapper, so when we restore, we can cast to check if we restore only the component or the full branch instead.

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


[jira] Resolved: (MYFACES-2494) Component branches saved with PSS needs to be wrapped

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

Leonardo Uribe resolved MYFACES-2494.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-alpha-2

> Component branches saved with PSS needs to be wrapped
> -----------------------------------------------------
>
>                 Key: MYFACES-2494
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2494
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.0-alpha-2
>
>
> When the tree is built and a component that is on that tree is removed and added, when a postback occur it is not restored, because the algorithm are not detecting this case. 
> The easiest solution is wrap all saved branches on a class like AttachedFullStateWrapper, so when we restore, we can cast to check if we restore only the component or the full branch instead.

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