On 4/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
... <lookup catalogName="struts" name="process-action" optional="false"/> ... Is there a way that I can terminate the "process-action" chain early but still have it execute the "process-view" chain after? I will greatly appreciate any help or suggestions that you can offer.
Yes. LookupCommand has a property, "ignoreExecuteResult" that overrides its default process to return whatever boolean is returned by the looked-up-command. You would turn it on like this: <lookup catalogName="struts" name="process-action" ignoreExecuteResult="true" optional="false"/> Intuitively, I expected the same behavior you expected, but that's not how the commons-chain package was first implemented. This should do it, unless you sometimes want the lookup to return Command.PROCESSING_COMPLETE (that is, true) When using "ignoreExecuteResult," LookupCommand always returns Command.CONTINUE_PROCESSING (false). Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso