myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Freedman (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (PORTLETBRIDGE-138) Bridge doesn't work correctly with ViewHandlers using deprecated StateManager APIs
Date Tue, 30 Mar 2010 21:20:27 GMT
Bridge doesn't work correctly with ViewHandlers using deprecated StateManager APIs
----------------------------------------------------------------------------------

                 Key: PORTLETBRIDGE-138
                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-138
             Project: MyFaces Portlet Bridge
          Issue Type: Bug
          Components: Impl
    Affects Versions: 2.0.0-alpha, 1.0.0-beta
            Reporter: Michael Freedman
            Assignee: Michael Freedman


The Bridge provides its own StateManager that overrides writeState in order to detect/parse
the VIEW_STATE value written into the response so it can cache this value for non-POSTBACK
requests (i.e. subsequent portlet render requests caused by redisplay and/or interactions
with another portlet on the page).   Unfortunately it only overrides the official 1.2 form
of writeState() and not the prior (now deprecated) form.  The Facelets ViewHandler uses the
old (deprecated API) -- causing the bridge to not extract the parameter leading to problems
in non-POSTBACKS.  Fixs is to duplicate the writeState() impl by overrridng the deprecated
form as well. 

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


Mime
View raw message