You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Nick Belaevski (JIRA)" <de...@myfaces.apache.org> on 2011/02/17 20:42:25 UTC

[jira] Created: (MYFACES-3047) Component resources disappear after page reload

Component resources disappear after page reload
-----------------------------------------------

                 Key: MYFACES-3047
                 URL: https://issues.apache.org/jira/browse/MYFACES-3047
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.0.4
            Reporter: Nick Belaevski
         Attachments: jsf2test.zip

Run attached example and click command link. Component CSS is not added to the page after that.

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

        

[jira] Commented: (MYFACES-3047) Component resources disappear after page reload

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

Nick Belaevski commented on MYFACES-3047:
-----------------------------------------

Reproducible when partial state saving is off.

> Component resources disappear after page reload
> -----------------------------------------------
>
>                 Key: MYFACES-3047
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3047
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.4
>            Reporter: Nick Belaevski
>         Attachments: jsf2test.zip
>
>
> Run attached example and click command link. Component CSS is not added to the page after that.

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

        

[jira] Resolved: (MYFACES-3047) Component resources disappear after page reload

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

Leonardo Uribe resolved MYFACES-3047.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.5-SNAPSHOT
         Assignee: Leonardo Uribe

Yes, I checked it and the problem is the component resource facets are marked as transient. Long time ago it was discussed on jsr-314-open list to mark them, but do that breaks ResourceDependency, because those resources added to the view are not restored.

I tried other altenatives, but after thinking a lot it is better to do not mark them and instead mark all resources added as transient according to the case.

> Component resources disappear after page reload
> -----------------------------------------------
>
>                 Key: MYFACES-3047
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3047
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.4
>            Reporter: Nick Belaevski
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.5-SNAPSHOT
>
>         Attachments: jsf2test.zip
>
>
> Run attached example and click command link. Component CSS is not added to the page after that.

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