Date: 2004-08-10T21:54:49
   Editor: MichaelMcGrady <[EMAIL PROTECTED]>
   Wiki: Apache Struts Wiki
   Page: StrutsCatalogMultipleImageButtonsWithNoJavaScript
   URL: http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -26,8 +26,7 @@
 I use this with the following simple logic in a processing class called by my Action 
class.  You can do whatever you like to use the results of the !ButtonCommand class.  
You don't, of course, have to have a Struts solution to use this.
 
 {{{
-String command = ButtonCommand.getCommand(request);
-if ("submit".equals(command)) {
+if ("submit".equals(ButtonCommand.getCommand(request))) {
   // do whatever
 }
 }}}

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

Reply via email to