You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2010/12/02 21:24:12 UTC

[jira] Created: (MYFACES-2993) state saving and dynamic pages

state saving and dynamic pages
------------------------------

                 Key: MYFACES-2993
                 URL: https://issues.apache.org/jira/browse/MYFACES-2993
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.0.2
            Reporter: Gerhard Petracek
            Assignee: Leonardo Uribe
            Priority: Critical


if components are added dynamically to the component tree, all postbacks to the same page (after the first postback) lead to an invalid component tree.
DefaultFaceletsStateManagementStrategy#getClientIdsAdded doesn't return the correct values any more.

currently this issue also affects the new clientside-windowhandler of myfaces extcdi.

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


[jira] Commented: (MYFACES-2993) state saving and dynamic pages

Posted by "Mark Struberg (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966268#action_12966268 ] 

Mark Struberg commented on MYFACES-2993:
----------------------------------------

autsch, I'd almost say this is a blocker :/

> state saving and dynamic pages
> ------------------------------
>
>                 Key: MYFACES-2993
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2993
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: Gerhard Petracek
>            Assignee: Leonardo Uribe
>            Priority: Critical
>
> if components are added dynamically to the component tree, all postbacks to the same page (after the first postback) lead to an invalid component tree.
> DefaultFaceletsStateManagementStrategy#getClientIdsAdded doesn't return the correct values any more.
> currently this issue also affects the new clientside-windowhandler of myfaces extcdi.

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


[jira] Commented: (MYFACES-2993) state saving and dynamic pages

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966277#action_12966277 ] 

Leonardo Uribe commented on MYFACES-2993:
-----------------------------------------

It works on my side. I checked it multiple times.

> state saving and dynamic pages
> ------------------------------
>
>                 Key: MYFACES-2993
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2993
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.2
>            Reporter: Gerhard Petracek
>            Assignee: Leonardo Uribe
>            Priority: Critical
>
> if components are added dynamically to the component tree, all postbacks to the same page (after the first postback) lead to an invalid component tree.
> DefaultFaceletsStateManagementStrategy#getClientIdsAdded doesn't return the correct values any more.
> currently this issue also affects the new clientside-windowhandler of myfaces extcdi.

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


[jira] Resolved: (MYFACES-2993) state saving and dynamic pages

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

Gerhard Petracek resolved MYFACES-2993.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.3-SNAPSHOT

see MYFACES-2992

> state saving and dynamic pages
> ------------------------------
>
>                 Key: MYFACES-2993
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2993
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.2
>            Reporter: Gerhard Petracek
>            Assignee: Leonardo Uribe
>            Priority: Critical
>             Fix For: 2.0.3-SNAPSHOT
>
>
> if components are added dynamically to the component tree, all postbacks to the same page (after the first postback) lead to an invalid component tree.
> DefaultFaceletsStateManagementStrategy#getClientIdsAdded doesn't return the correct values any more.
> currently this issue also affects the new clientside-windowhandler of myfaces extcdi.

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


[jira] Commented: (MYFACES-2993) state saving and dynamic pages

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966270#action_12966270 ] 

Leonardo Uribe commented on MYFACES-2993:
-----------------------------------------

Could you provide an example? All tests done shows everything is ok.

> state saving and dynamic pages
> ------------------------------
>
>                 Key: MYFACES-2993
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2993
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.2
>            Reporter: Gerhard Petracek
>            Assignee: Leonardo Uribe
>            Priority: Critical
>
> if components are added dynamically to the component tree, all postbacks to the same page (after the first postback) lead to an invalid component tree.
> DefaultFaceletsStateManagementStrategy#getClientIdsAdded doesn't return the correct values any more.
> currently this issue also affects the new clientside-windowhandler of myfaces extcdi.

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


[jira] Commented: (MYFACES-2993) state saving and dynamic pages

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966310#action_12966310 ] 

Gerhard Petracek commented on MYFACES-2993:
-------------------------------------------

it looks like MYFACES-2992 was not the only cause. with an updated shared project it works.

> state saving and dynamic pages
> ------------------------------
>
>                 Key: MYFACES-2993
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2993
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.2
>            Reporter: Gerhard Petracek
>            Assignee: Leonardo Uribe
>            Priority: Critical
>             Fix For: 2.0.3-SNAPSHOT
>
>
> if components are added dynamically to the component tree, all postbacks to the same page (after the first postback) lead to an invalid component tree.
> DefaultFaceletsStateManagementStrategy#getClientIdsAdded doesn't return the correct values any more.
> currently this issue also affects the new clientside-windowhandler of myfaces extcdi.

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


[jira] Commented: (MYFACES-2993) state saving and dynamic pages

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966275#action_12966275 ] 

Gerhard Petracek commented on MYFACES-2993:
-------------------------------------------

https://svn.apache.org/repos/asf/myfaces/extensions/cdi/trunk/examples/jsf-examples/windowhandler_jsf20/

link: "List sample"
-> select an entry and on the details page click 2x on the button reload. -> the id will disappear

> state saving and dynamic pages
> ------------------------------
>
>                 Key: MYFACES-2993
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2993
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.2
>            Reporter: Gerhard Petracek
>            Assignee: Leonardo Uribe
>            Priority: Critical
>
> if components are added dynamically to the component tree, all postbacks to the same page (after the first postback) lead to an invalid component tree.
> DefaultFaceletsStateManagementStrategy#getClientIdsAdded doesn't return the correct values any more.
> currently this issue also affects the new clientside-windowhandler of myfaces extcdi.

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


[jira] Commented: (MYFACES-2993) state saving and dynamic pages

Posted by "Mark Struberg (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966307#action_12966307 ] 

Mark Struberg commented on MYFACES-2993:
----------------------------------------

I now added a h:outputText for our internal windowId and see no problem

> state saving and dynamic pages
> ------------------------------
>
>                 Key: MYFACES-2993
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2993
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.2
>            Reporter: Gerhard Petracek
>            Assignee: Leonardo Uribe
>            Priority: Critical
>
> if components are added dynamically to the component tree, all postbacks to the same page (after the first postback) lead to an invalid component tree.
> DefaultFaceletsStateManagementStrategy#getClientIdsAdded doesn't return the correct values any more.
> currently this issue also affects the new clientside-windowhandler of myfaces extcdi.

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