Date: 2004-09-14T20:41:35
   Editor: MichaelMcGrady <[EMAIL PROTECTED]>
   Wiki: Apache Struts Wiki
   Page: StrutsCatalogSimpleDispatchAction
   URL: http://wiki.apache.org/struts/StrutsCatalogSimpleDispatchAction

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -104,6 +104,13 @@
         command = buttonValue.substring(0,buttonValue.indexOf('.'));
       }
     }
+
+    if(methodName == null) {
+      String parameter = mapping.getParameter();
+      if(parameter.endsWith(".x")) {
+        methodName = buttonValue.substring(0,buttonValue.indexOf('.'));
+      }
+    }
     return command;
   }
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to