On 12/8/05, Joe Germuska <[EMAIL PROTECTED]> wrote: > Are you talking about dispatching to a chain, instead of > dispatching to a method by reflection? If that's the case, you could > do it using the commons-chain Lookup Command, although it might be > more elegant ...
Yes, I was looking for the equivalent of LookupDispatchAction which goes from button text to resource key to method. Otherwise it looks like I'd have to change the forms to include the command in a request parameter so DispatchChainAction would work. I haven't touched the application code yet, and may not-- in part this is an exercise to familiarize myself with some of the things that have been added since I last looked. > In any case, I wouldn't be surprised if there isn't some cleaning up > to be done in this area -- not a lot of people have set out to use > chains and commands instead of actions, so there aren't a lot of > "best practices" just yet. You get to discover them! No wonder it seems like the manual is missing a few pages... ;) Thanks for the insights on how you're all using it-- including the answer to the mystery of where the "legacy" package name in the Javadoc came from. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]