----- Original Message ----- From: "Paul Speed" <[EMAIL PROTECTED]> To: "Struts Developers List" <[EMAIL PROTECTED]> Sent: Monday, October 06, 2003 5:58 PM Subject: Re: Struts-chain Behavior Discussion
> > > Jing Zhou wrote: > > > > ----- Original Message ----- > > From: "Paul Speed" <[EMAIL PROTECTED]> > > To: "Struts Developers List" <[EMAIL PROTECTED]> > > Sent: Monday, October 06, 2003 3:40 AM > > Subject: Re: Struts-chain Behavior Discussion > > > > > > > > (1) LookupCommand > > > (2) ExceptionCatcher > > > (3) SelectLocale > > > (4) Process Action > > > (a) SelectAction > > > (b) CreateActionForm > > > (c) PopulateActionForm > > > (d) ValidateActionForm > > > > If validations fail in (d), the (e) and (f) are not necessary. > > Right, but then it can just stop that particular chain. I was under > the impression that a chain can be aborted. If validation fails > then the "Process Action" chain could abort and the main chain would > continue on to "PerformForward". > > Incorporating Craig's comments about "SelectInput" on validation > failure are left as an exercise for the reader. ;) I see what you mean. But the complexity is roughly the same as or more than the original one in chain-config.xml. What I am looking for is a simpler syntax to do the same thing without explicitly defining possible nested chains. See my previous message, an example is given. > > -Paul Jing --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]