You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by mr...@apache.org on 2007/01/01 18:28:40 UTC
svn commit: r491599 -
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java
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)