Date: 2004-08-10T22:07:51 Editor: MichaelMcGrady <[EMAIL PROTECTED]> Wiki: Apache Struts Wiki Page: StrutsCatalogMultipleImageButtonsWithNoJavaScript URL: http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript
no comment Change Log: ------------------------------------------------------------------------------ @@ -52,13 +52,20 @@ property='hostsOptions'/> }}} -The point is that the preceding solution is not tied to other decisions but merely to utilizing what we need to get the job done with <input type='image>. We use the class as follows. +But, none of this is related to the solution. The solution is essentially unccnnected to other issues. The point is that the preceding solution is not tied to other decisions but merely to utilizing what we need to get the job done with +{{{ +<input type='image> +}}} + +We use the class as follows. {{{ if ("submit".equals(ButtonCommand.getCommand(request))) { // do whatever } }}} + +Obviously the use is significant when we have more than one use of the image tags. That is the whole point. This solution is very, very simple and very, very effective. I think it is the best out there. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]