You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org> on 2007/11/02 23:02:50 UTC

[jira] Created: (TRINIDAD-798) StateManagerImpl extends StateManager rather then StateManagerWrapper

StateManagerImpl extends StateManager rather then StateManagerWrapper
---------------------------------------------------------------------

                 Key: TRINIDAD-798
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-798
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Portlet
    Affects Versions: 1.2.3-core
         Environment: JSR-168
            Reporter: Scott O'Bryan
            Assignee: Scott O'Bryan
             Fix For: 1.2.4-core


In JSF 1.1, there was no StageManagerWrapper provided by JSF so we were extending the base StateManager.  In 1.2 this class was provided in order to support the delegation chain.  This delegation chain is important to support the JSR-301's portlet bridge.

Trinidad's StateManagerImpl should be changed to extend JSF1.2's StateManagerWrapper class in order to support this delegation chain.  The mechanism used in 1.1 is not sufficient for 1.2 extensions which may require a StateManager.

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


[jira] Updated: (TRINIDAD-798) StateManagerImpl extends StateManager rather then StateManagerWrapper

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott O'Bryan updated TRINIDAD-798:
-----------------------------------

    Status: Patch Available  (was: Open)

> StateManagerImpl extends StateManager rather then StateManagerWrapper
> ---------------------------------------------------------------------
>
>                 Key: TRINIDAD-798
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-798
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Portlet
>    Affects Versions: 1.2.3-core
>         Environment: JSR-168
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>             Fix For: 1.2.4-core
>
>
> In JSF 1.1, there was no StageManagerWrapper provided by JSF so we were extending the base StateManager.  In 1.2 this class was provided in order to support the delegation chain.  This delegation chain is important to support the JSR-301's portlet bridge.
> Trinidad's StateManagerImpl should be changed to extend JSF1.2's StateManagerWrapper class in order to support this delegation chain.  The mechanism used in 1.1 is not sufficient for 1.2 extensions which may require a StateManager.

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


Re: [jira] Commented: (TRINIDAD-798) StateManagerImpl extends StateManager rather then StateManagerWrapper

Posted by Scott O'Bryan <da...@gmail.com>.
Yeah, this patch was reversed because we had some issues.  It works 
under a bear-bones environment but when some other state-managers are 
introduced, this patch blows up.  I'll reassign it to 1.2.5 since it 
primarily only impacts the portal environment which is still 
experimental anyway.

Scott

Matthias Weßendorf (JIRA) wrote:
>     [ https://issues.apache.org/jira/browse/TRINIDAD-798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545186 ] 
>
> Matthias Weßendorf commented on TRINIDAD-798:
> ---------------------------------------------
>
> scotty,
>
> I see some related commits, but issue is still open
>
>   
>> StateManagerImpl extends StateManager rather then StateManagerWrapper
>> ---------------------------------------------------------------------
>>
>>                 Key: TRINIDAD-798
>>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-798
>>             Project: MyFaces Trinidad
>>          Issue Type: Bug
>>          Components: Portlet
>>    Affects Versions: 1.2.3-core
>>         Environment: JSR-168
>>            Reporter: Scott O'Bryan
>>            Assignee: Scott O'Bryan
>>             Fix For: 1.2.4-core
>>
>>         Attachments: trinidad-798.patch
>>
>>
>> In JSF 1.1, there was no StageManagerWrapper provided by JSF so we were extending the base StateManager.  In 1.2 this class was provided in order to support the delegation chain.  This delegation chain is important to support the JSR-301's portlet bridge.
>> Trinidad's StateManagerImpl should be changed to extend JSF1.2's StateManagerWrapper class in order to support this delegation chain.  The mechanism used in 1.1 is not sufficient for 1.2 extensions which may require a StateManager.
>>     
>
>   


[jira] Commented: (TRINIDAD-798) StateManagerImpl extends StateManager rather then StateManagerWrapper

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545186 ] 

Matthias Weßendorf commented on TRINIDAD-798:
---------------------------------------------

scotty,

I see some related commits, but issue is still open

> StateManagerImpl extends StateManager rather then StateManagerWrapper
> ---------------------------------------------------------------------
>
>                 Key: TRINIDAD-798
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-798
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Portlet
>    Affects Versions: 1.2.3-core
>         Environment: JSR-168
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>             Fix For: 1.2.4-core
>
>         Attachments: trinidad-798.patch
>
>
> In JSF 1.1, there was no StageManagerWrapper provided by JSF so we were extending the base StateManager.  In 1.2 this class was provided in order to support the delegation chain.  This delegation chain is important to support the JSR-301's portlet bridge.
> Trinidad's StateManagerImpl should be changed to extend JSF1.2's StateManagerWrapper class in order to support this delegation chain.  The mechanism used in 1.1 is not sufficient for 1.2 extensions which may require a StateManager.

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


[jira] Updated: (TRINIDAD-798) StateManagerImpl extends StateManager rather then StateManagerWrapper

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott O'Bryan updated TRINIDAD-798:
-----------------------------------

    Status: Open  (was: Patch Available)

> StateManagerImpl extends StateManager rather then StateManagerWrapper
> ---------------------------------------------------------------------
>
>                 Key: TRINIDAD-798
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-798
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Portlet
>    Affects Versions: 1.2.3-core
>         Environment: JSR-168
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>         Attachments: trinidad-798.patch
>
>
> In JSF 1.1, there was no StageManagerWrapper provided by JSF so we were extending the base StateManager.  In 1.2 this class was provided in order to support the delegation chain.  This delegation chain is important to support the JSR-301's portlet bridge.
> Trinidad's StateManagerImpl should be changed to extend JSF1.2's StateManagerWrapper class in order to support this delegation chain.  The mechanism used in 1.1 is not sufficient for 1.2 extensions which may require a StateManager.

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


[jira] Commented: (TRINIDAD-798) StateManagerImpl extends StateManager rather then StateManagerWrapper

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541409 ] 

Scott O'Bryan commented on TRINIDAD-798:
----------------------------------------

I added this patch to the Trinidad 1.2.3.1-branch for testing in the portal environment.  It will need to be applied to the 1.2.4 branch was well.

> StateManagerImpl extends StateManager rather then StateManagerWrapper
> ---------------------------------------------------------------------
>
>                 Key: TRINIDAD-798
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-798
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Portlet
>    Affects Versions: 1.2.3-core
>         Environment: JSR-168
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>             Fix For: 1.2.4-core
>
>         Attachments: trinidad-798.patch
>
>
> In JSF 1.1, there was no StageManagerWrapper provided by JSF so we were extending the base StateManager.  In 1.2 this class was provided in order to support the delegation chain.  This delegation chain is important to support the JSR-301's portlet bridge.
> Trinidad's StateManagerImpl should be changed to extend JSF1.2's StateManagerWrapper class in order to support this delegation chain.  The mechanism used in 1.1 is not sufficient for 1.2 extensions which may require a StateManager.

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


[jira] Commented: (TRINIDAD-798) StateManagerImpl extends StateManager rather then StateManagerWrapper

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539730 ] 

Scott O'Bryan commented on TRINIDAD-798:
----------------------------------------

This is a 1.2.x Trinidad fix only.  It cannot be backported to Trinidad 1.0.x.

> StateManagerImpl extends StateManager rather then StateManagerWrapper
> ---------------------------------------------------------------------
>
>                 Key: TRINIDAD-798
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-798
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Portlet
>    Affects Versions: 1.2.3-core
>         Environment: JSR-168
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>             Fix For: 1.2.4-core
>
>
> In JSF 1.1, there was no StageManagerWrapper provided by JSF so we were extending the base StateManager.  In 1.2 this class was provided in order to support the delegation chain.  This delegation chain is important to support the JSR-301's portlet bridge.
> Trinidad's StateManagerImpl should be changed to extend JSF1.2's StateManagerWrapper class in order to support this delegation chain.  The mechanism used in 1.1 is not sufficient for 1.2 extensions which may require a StateManager.

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


[jira] Resolved: (TRINIDAD-798) StateManagerImpl extends StateManager rather then StateManagerWrapper

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott O'Bryan resolved TRINIDAD-798.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.6-core
                   1.0.6-core

In the 1.1 branch, I did some  minor restructuring of the StateManagerImpl to allow for  JSF 1.1 and JSF 1.2 implementations to be somewhat consistent.  Basically I needed to make the original saveSerializedView method private and then implement a new public saveSerializedView method which calls into it.  This was done so that we could change to the new API's in the 1.2 branch while still keeping the same base implementation.

In the 1.2 branch, I took the modifications made to 1.1 and  implemented and extended StateManagerWrapper.  I removed the new saveSerializedView method and implemented a saveView method which calls into the private saveSerializedView method.  When the SerializedView is returned, I create an object array, saving the SerializedView's structure and state in it.  Returning the data in this format allows us to use the same CoreRequestStateManager in both implementations and no other modification is necessary.


> StateManagerImpl extends StateManager rather then StateManagerWrapper
> ---------------------------------------------------------------------
>
>                 Key: TRINIDAD-798
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-798
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Portlet
>    Affects Versions: 1.2.3-core
>         Environment: JSR-168
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>             Fix For: 1.0.6-core, 1.2.6-core
>
>         Attachments: trinidad-798.patch
>
>
> In JSF 1.1, there was no StageManagerWrapper provided by JSF so we were extending the base StateManager.  In 1.2 this class was provided in order to support the delegation chain.  This delegation chain is important to support the JSR-301's portlet bridge.
> Trinidad's StateManagerImpl should be changed to extend JSF1.2's StateManagerWrapper class in order to support this delegation chain.  The mechanism used in 1.1 is not sufficient for 1.2 extensions which may require a StateManager.

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