On 1/17/06, Josh McDonald <[EMAIL PROTECTED]> wrote: > After reading up on it, the DispatchAction setup is what I was referring > to when I said "using a token", it definitely looks like the nicest > solution, since it saves you a bunch of ugly if-then-else stuff.
I suggest you using a better version of DispatchAction, like this one: http://struts.sourceforge.net/strutsdialogs/selectaction.html the demo: http://www.superinterface.com/strutsdialog/selectaction.html or this one: http://www.michaelmcgrady.com/button/jsp/dispatch_action.jsp . The latter is simpler in terms that you don't need mapping from event to method name. > What will DispatchAction.execute() do if there's no method to handle a > particular value for "dispatch" or whatever you call it in your > instance? It will call "unspecified" method, which you may want to override. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]