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. ;)

-Paul

> 
> >     (e) CreateAction
> >     (f) ExecuteAction
> > (8) PerformForward
> >
> > >
> > > -Paul
> > >
> 
> Jing
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to