Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3142

h:outputScript and h:outputStylesheet renderer listeners cannot implement PartialStateHolder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0.6, 2.1.0
    • JSR-314
    • None

    Description

      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).

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: