[ 
https://issues.apache.org/jira/browse/PORTLETBRIDGE-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13013637#comment-13013637
 ] 

Neil Griffin commented on PORTLETBRIDGE-202:
--------------------------------------------

Can you point me to the code in the RI that:

1) Handles the encoding of the target viewId

2) Performs restoration if the mode is the same


> Proposal for 3.0 IMPL: Support mode changes via 
> StateAwareResponse#setPortletMode(PortletMode)
> ----------------------------------------------------------------------------------------------
>
>                 Key: PORTLETBRIDGE-202
>                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-202
>             Project: MyFaces Portlet Bridge
>          Issue Type: New Feature
>          Components: General
>    Affects Versions: 3.0.0
>            Reporter: Neil Griffin
>            Assignee: Michael Freedman
>
> To the best of my knowledge, the Bridge 2.0 spec does not address usage of 
> StateAwareResponse#setPortletMode(PortletMode) within a JSF backing bean 
> action.
> This proposal would require the BridgeRequestScope to remember the 
> PortletMode so that mode changes can be detected:
> public interface BridgeRequestScope {
>       ...
>       PortletMode getPortletMode();
>       void setPortletMode(PortletMode portletMode);
>       ...
> }
> Note that the Bridge implementation would be required to call 
> bridgeRequestScope.setPortletMode() during an ActionRequest and EventRequest.

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

Reply via email to