Date: 2004-07-27T09:57:50
   Editor: MichaelMcGrady <[EMAIL PROTECTED]>
   Wiki: Apache Struts Wiki
   Page: StrutsCatalogMultipleImageButtonsWithNoJavaScript
   URL: http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -67,9 +67,12 @@
     button = new Button();
   }
 
-  // GETTER and SETTER METHODS
+  // GETTER METHOD: Struts calls the chosen Operation in 
+  // this Button and, then, setX(Integer) and setY(Integer).
+  // If you are not using Struts, you should do something
+  // equivalent.  We can tell the Operation chosen because
+  // only that Operation has x and y set.
   public Button getButton() { return button; }
-  public void   setButton(Button button) { this.button = button; }
 }}}
 
 Alternative frameworks can use alternative but equivalent mechanisms for

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

Reply via email to