You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mf...@apache.org on 2010/11/11 01:19:15 UTC

svn commit: r1033781 - /myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java

Author: mfreedman
Date: Thu Nov 11 00:19:14 2010
New Revision: 1033781

URL: http://svn.apache.org/viewvc?rev=1033781&view=rev
Log:
PORTLETBRIDGE-172: encodeActionURL of nonFaces view isn't renderURL

Modified:
    myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java

Modified: myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java?rev=1033781&r1=1033780&r2=1033781&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java (original)
+++ myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java Thu Nov 11 00:19:14 2010
@@ -388,6 +388,8 @@ public class PortletExternalContextImpl
       else
       {
         // URL points at non-Faces action
+        // Non-JSF actions are renderURLs as we merely dispatch to them
+        urlType = Bridge.PortletPhase.RENDER_PHASE;
         encodeNonFacesActionTarget(queryStr, path);
       }
     }