[
https://issues.apache.org/jira/browse/MYFACES-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462630
]
Stan Silvert commented on MYFACES-1518:
---------------------------------------
Yes, redirects to absolute URLs should be OK. My bad, I thought you were
talking about using <redirect/> in JSF navigation.
If you do a redirect to an absolute URL then you should call
FacesContext.responseComplete(). Then setRenderParameter() will not be called.
> Redirect in portlet does not work because of Render Parameter
> -------------------------------------------------------------
>
> Key: MYFACES-1518
> URL: https://issues.apache.org/jira/browse/MYFACES-1518
> Project: MyFaces Core
> Issue Type: New Feature
> Components: Portlet_Support
> Environment: Windows, Linux
> Reporter: Ryan Wynn
>
> At the end of the portlet action phase the MyFacesGenericPortlet sets a
> render parameter.
> response.setRenderParameter(VIEW_ID, facesContext.getViewRoot().getViewId());
> This is not allowed if redirect has already been called on the external
> context during the action phase of the jsf lifecycle. I believe for redirect
> case a flag should be used to indicate the the render parameter should not be
> set.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira