You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Apache Wiki <wi...@apache.org> on 2006/03/02 22:51:39 UTC

[Struts Wiki] Update of "StrutsCatalogBaseAction" by MichaelJouravlev

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.

The following page has been changed by MichaelJouravlev:
http://wiki.apache.org/struts/StrutsCatalogBaseAction

The comment on the change is:
Added reference to PLAD 

------------------------------------------------------------------------------
   
  -- Axel GROSS
  
- For those needing DispatchAction capabilities while using your own base Action, the solution is the new [http://struts.apache.org/api/org/apache/struts/actions/ActionDispatcher.html ActionDispatcher] class that was introduced in Struts 1.2.7.  It provides DispatchAction functionality without having to inherit from a particular class, and can be extended to provide custom Dispatch behavior.
+ For those needing !DispatchAction capabilities while using your own base Action, the solution is the new [http://struts.apache.org/api/org/apache/struts/actions/ActionDispatcher.html ActionDispatcher] class that was introduced in Struts 1.2.7.  It provides !DispatchAction functionality without having to inherit from a particular class, and can be extended to provide custom Dispatch behavior.
  
  -- Hubert Rabago
  
+ For those wanting more than !DispatchAction can provide the solution is [http://wiki.apache.org/struts/ActionDispatcher ParameterListActionDispatcher] class.  It provides all !DispatchAction functionality and more:
+    * One action mapping can contain several event definitions.
+    * Submit buttons can have any caption; caption can be changed in runtime.
+    * No event-to-method map is needed.
+    * Action method name can be either used directly on a web page, or can be aliased with an event name.
+    * It is possible to define a default method if event is not recognized.
+    * If event is not recognized and default method is not defined, the dispatcher invokes {{{unspecified}}} method.
+    * Standard Cancel buttons is hooked up to {{{cancelled}}} method and does not have to be defined explicitly.
+ 
+ 
+ -- Michael Jouravlev
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org