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


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

Reply via email to