Date: 2004-08-18T21:51:34
Editor: MichaelMcGrady <[EMAIL PROTECTED]>
Wiki: Apache Struts Wiki
Page: StrutsCatalogMultipleImageTagsSimplified
URL: http://wiki.apache.org/struts/StrutsCatalogMultipleImageTagsSimplified
no comment
Change Log:
------------------------------------------------------------------------------
@@ -29,7 +29,7 @@
}
}}}
-'''There you go. I suggest that you toss out the !LookupDispatchActions, the
!ButtonCommands, etc. This is a done deal. You can clearly seek other ways to ensure
a bit more safety. For example, the code works equally as well with "submit.button"
as it does with "submit". Elegant, no, eh? I use a class that encapsulates this
functionality as follows:
+'''There you go. ''If you clicked the image with name='submit', then the variable
button will have the value "submit".'' I suggest that you toss out the
!LookupDispatchActions, the !ButtonCommands, etc. This is a done deal. You can
clearly seek other ways to ensure a bit more safety. For example, the code works
equally as well with "submit.button" as it does with "submit". Elegant, no, eh? I
use a class that encapsulates this functionality as follows:
{{{
public class ImageTagUtil {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]