You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Stan Silvert (JIRA)" <de...@myfaces.apache.org> on 2007/01/05 22:20:27 UTC

[jira] Commented: (MYFACES-1518) Redirect in portlet does not work because of Render Parameter

    [ https://issues.apache.org/jira/browse/MYFACES-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462610 ] 

Stan Silvert commented on MYFACES-1518:
---------------------------------------

In general, redirects are not supported in JSF portlets.  This is a topic being discussed as part of the JSR-301 (JSF Portlet Bridge) expert group.  While it may be possible, nobody is really sure how to do it at this point.

> 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: Bug
>          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