Date: 2004-09-21T22:36:39
   Editor: MichaelMcGrady <[EMAIL PROTECTED]>
   Wiki: Apache Struts Wiki
   Page: StrutsCatalogFiveMultipleButtonSolutions
   URL: http://wiki.apache.org/struts/StrutsCatalogFiveMultipleButtonSolutions

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -51,7 +51,7 @@
 Struts has provided a solution for this with DispatchAction and its progeny.  I have 
found this solution to be too heavy, too complicated, and too obtuse.  So, I have 
engendered my own.
 
 
-The principle reason for this class is the problem with <input type='image' 
name='whatever'> tags in HTML.  Those tag send the values in the name attribute as 
''whatever.x=9'' and ''whatever.y=26''.  DispatchAction and its progeny provide a 
melange of solutions but no common way to deal with ''<a href='whatever.do'>'', 
''<input type='submit'>'', ''<input type='image'>'', ''<input type='file'>'', or 
whatever.  This class, DispatchUtil does that.  If you prefer to use a subclass, just 
provide the functionality in this class in a class extending Action.  Herbert Rabago 
came up with the idea of providing the functionality in a utility class and I really 
like that idea.  So, here we go.
+The principle reason for this class is the problem with <input type='image' 
name='whatever'> tags in HTML.  Those tag send the values in the name attribute as 
''whatever.x=9'' and ''whatever.y=26''.  DispatchAction and its progeny provide a 
melange of solutions but no common way to deal with ''<a href='whatever.do'>'', 
''<input type='submit'>'', ''<input type='image'>'', ''<input type='file'>'', or 
whatever.  This class, DispatchUtil does that.  If you prefer to use a subclass, just 
provide the functionality in this class in a class extending Action.  '''Herbert 
Rabago''' came up with the idea of providing the functionality in a utility class and 
I really like that idea.  So, here we go.
 
 == Uses ==
 

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

Reply via email to