You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by he...@apache.org on 2006/03/27 21:58:55 UTC

svn commit: r389241 - /incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java

Author: hermanns
Date: Mon Mar 27 11:58:54 2006
New Revision: 389241

URL: http://svn.apache.org/viewcvs?rev=389241&view=rev
Log:
URL tag - includeParams default is "none", but docs states "get" is the default
Issue number: WW-1266
Obtained from: Nils-Helge Garli
Reviewed by: Rainer Hermanns

Modified:
    incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java

Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java?rev=389241&r1=389240&r2=389241&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java Mon Mar 27 11:58:54 2006
@@ -171,9 +171,11 @@
     }
 
     private void includeGetParameters() {
-        String query = extractQueryString();
-        if (query != null) {
-            mergeRequestParameters(parameters, HttpUtils.parseQueryString(query));
+        if(!(DispatcherUtils.isPortletSupportActive() && PortletActionContext.isPortletRequest())) {
+            String query = extractQueryString();
+            if (query != null) {
+                mergeRequestParameters(parameters, HttpUtils.parseQueryString(query));
+            }
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org