Date: 2004-09-18T12:52:18
Editor: MichaelMcGrady <[EMAIL PROTECTED]>
Wiki: Apache Struts Wiki
Page: StrutsCatalogDispatchUtil
URL: http://wiki.apache.org/struts/StrutsCatalogDispatchUtil
no comment
Change Log:
------------------------------------------------------------------------------
@@ -151,7 +151,7 @@
}
}}}
-=== Some Explanation for Mapping and Lookup Dispatch Action Users===
+=== Some Explanation for Mapping and Lookup Dispatch Action Users ===
All this means for you MappingDispatchAction and LookupDispatchAction users is that
where you used some value for the method in your action-mapping such as update, you
now have to use update.dispatch. If you override the method getMethodName( . . . )
and, instead of ''methodName =
paramProperty.substring(0,paramProperty.indexOf('.'));'' use ''methodName =
paramProperty'', you won't have to make any changes. If you want to avoid the use of
struts-config.xml altogether, you can. DispatchUtil really replaces not only
MappingDispatchAction, LookupDispatchAction and DispatchAction but also the necessity
those classes occasioned of using the parameter property of ActionMapping.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]