You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2016/07/15 08:40:27 UTC

[1/2] struts git commit: action parameters should be included when building the URL to action

Repository: struts
Updated Branches:
  refs/heads/master ca42e4ea5 -> 7f5c8b620


action parameters should be included when building the URL to action


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/4eca2463
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/4eca2463
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/4eca2463

Branch: refs/heads/master
Commit: 4eca24631baafcf738f077469e120af611078d9d
Parents: a2de255
Author: Przemek Bruski <pb...@atlassian.com>
Authored: Tue Jun 21 16:27:46 2016 +0200
Committer: Przemek Bruski <pb...@atlassian.com>
Committed: Tue Jun 21 16:27:46 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/struts2/components/ServletUrlRenderer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/4eca2463/core/src/main/java/org/apache/struts2/components/ServletUrlRenderer.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/struts2/components/ServletUrlRenderer.java b/core/src/main/java/org/apache/struts2/components/ServletUrlRenderer.java
index 5b63cd4..314f3de 100644
--- a/core/src/main/java/org/apache/struts2/components/ServletUrlRenderer.java
+++ b/core/src/main/java/org/apache/struts2/components/ServletUrlRenderer.java
@@ -204,7 +204,7 @@ public class ServletUrlRenderer implements UrlRenderer {
                 LOG.warn("No configuration found for the specified action: '{}' in namespace: '{}'. Form action defaulting to 'action' attribute's literal value.", actionName, namespace);
             }
 
-            String result = urlHelper.buildUrl(action, formComponent.request, formComponent.response, null, scheme, formComponent.includeContext, true);
+            String result = urlHelper.buildUrl(action, formComponent.request, formComponent.response, actionParams, scheme, formComponent.includeContext, true);
             formComponent.addParameter("action", result);
 
             // namespace: cut out anything between the start and the last /


[2/2] struts git commit: WW-4654 Includes params when bulding URL to action

Posted by lu...@apache.org.
WW-4654 Includes params when bulding URL to action


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/7f5c8b62
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/7f5c8b62
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/7f5c8b62

Branch: refs/heads/master
Commit: 7f5c8b620d7c72e4c2432b93266ae932e6783941
Parents: ca42e4e 4eca246
Author: Lukasz Lenart <lu...@apache.org>
Authored: Fri Jul 15 10:40:19 2016 +0200
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Fri Jul 15 10:40:19 2016 +0200

----------------------------------------------------------------------

----------------------------------------------------------------------