From a5d89739f70bab82b9e89dbde6fbb8fea955f689 Mon Sep 17 00:00:00 2001 From: Toby Jee Date: Sat, 6 May 2006 17:01:16 +0000 Subject: [PATCH] - added comment in the code git-svn-id: https://svn.apache.org/repos/asf/incubator/webwork2@400335 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/struts/action2/components/Form.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action/src/main/java/org/apache/struts/action2/components/Form.java b/action/src/main/java/org/apache/struts/action2/components/Form.java index 0682fb152..3f4cc5f6b 100644 --- a/action/src/main/java/org/apache/struts/action2/components/Form.java +++ b/action/src/main/java/org/apache/struts/action2/components/Form.java @@ -210,6 +210,10 @@ public class Form extends ClosingUIBean { addParameter("id", action); } } else if (action != null) { + // Since we can't find an action alias in the configuration, we just assume + // the action attribute supplied is the path to be used as the uri this + // form is submitting to. + String result = UrlHelper.buildUrl(action, request, response, null); addParameter("action", result);