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 2011/05/12 23:15:58 UTC

[jira] [Resolved] (MYFACES-3142) h:outputScript and h:outputStylesheet renderer listeners cannot implement PartialStateHolder

     [ https://issues.apache.org/jira/browse/MYFACES-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3142.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0
                   2.0.6

> h:outputScript and h:outputStylesheet renderer listeners cannot implement PartialStateHolder
> --------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3142
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3142
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>            Priority: Trivial
>             Fix For: 2.0.6, 2.1.0
>
>
> Long time ago I tried to make h:outputScript and h:outputStylesheet implement PartialStateHolder, to reduce the view state to the minimal. This works well, as long as you don't use javax.faces.FULL_STATE_SAVING_VIEW_IDS param, or in other words, you'll have views that require normal state saving, written in facelets and using those tags (a very exotic case indeed, since MyFaces PSS works very well).
> We need to remove the marker for PartialStateHolder on both renderers, but note there is still a change to fix it correctly from UIComponent, checking if the listener comes from a renderer and if so, restore it properly (calling getRenderer() or something like that).

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