Anonymous avatar Anonymous committed 03bf8b2

removed uncessary comments

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@2952 573baa09-0c28-0410-bef9-dab3c582ae83

Comments (0)

Files changed (4)

src/java/com/opensymphony/webwork/components/Form.java

     protected void evaluateExtraParams() {
         super.evaluateExtraParams();
 
-        //boolean isAjax = "ajax".equalsIgnoreCase(this.theme);
-
         if (validate != null) {
             addParameter("validate", findValue(validate, Boolean.class));
         }
 
-        // calculate the action and namespace
-        /*String action = null;
-        if (this.action != null) {
-            // if it isn't specified, we'll make somethig up
-            action = findString(this.action);
-        }
-
-        if (DispatcherUtils.isPortletSupportActive() && PortletActionContext.isPortletRequest()) {
-            evaluateExtraParamsPortletRequest(namespace, action);
-        } else {
-            String namespace = determineNamespace(this.namespace, getStack(),
-                    request);
-            evaluateExtraParamsServletRequest(action, namespace, isAjax);
-        }*/
-
         if (onsubmit != null) {
             addParameter("onsubmit", findString(onsubmit));
         }

src/java/com/opensymphony/webwork/components/FormButton.java

         super(stack, request, response);
     }
 
-    //public void evaluateParams() {
     public void evaluateExtraParams() {
     	super.evaluateExtraParams();
         if (align == null) {
             submitType = type;
         }
 
-        //super.evaluateParams();
-
         addParameter("type", submitType);
 
         if (!BUTTONTYPE_INPUT.equals(submitType) && (label == null)) {

src/java/com/opensymphony/webwork/components/Submit.java

     
     public void evaluateExtraParams() {
     	super.evaluateExtraParams();
-        /*if (value == null) {
-            value = "Submit";
-        }*/
-
-        //super.evaluateParams();
 
         if (null != src) {
             addParameter("src", findString(src));

src/java/template/ajax/form.ftl

  onSubmit="return isAjaxFormSubmit(this);"
 >
 <#include "/${parameters.templateDir}/${themeProperties.parent}/control.ftl" />
-<#--
-<table class="${parameters.cssClass?default('wwFormTable')?html}"<#rt/>
-<#if parameters.cssStyle?exists> style="${parameters.cssStyle?html}"<#rt/>
-</#if>
->
--->
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.