struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mr...@apache.org
Subject svn commit: r491599 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java
Date Mon, 01 Jan 2007 17:28:40 GMT
Author: mrdon
Date: Mon Jan  1 09:28:37 2007
New Revision: 491599

URL: http://svn.apache.org/viewvc?view=rev&rev=491599
Log:
Fixing url to not be built automatically in href tag on submit component
WW-1547

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java?view=diff&rev=491599&r1=491598&r2=491599
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java Mon
Jan  1 09:28:37 2007
@@ -181,7 +181,7 @@
         super.evaluateExtraParams();
 
         if (href != null)
-            addParameter("href", UrlHelper.buildUrl(findString(href), request, response,
null));
+            addParameter("href", findString(href));
         if (errorText != null)
             addParameter("errorText", findString(errorText));
         if (loadingText != null)



Mime
View raw message