I created this:

http://wiki.opensymphony.com/space/Webwork+-+Why+would+I+use+Action+Chai
ning%3F 

One common use of Action chaining is to provide lookup lists (like for a
dropdown list of states, etc). Since these Actions get put on the
ValueStack, these properties will be available in the view. In WW1.x
Action chaining is often used to chain to a RedirectAction to redirect
to another page after processing (in WW2 we have a redirect result).

Basically it's good when you have some reusable code you want to
encapsulate... In WW2 if you use it a lot, you could make it an
Interceptor, or use it as an Action with chaining. If you need to set up
and use some properties from it, it needs to be an Action. 

> -----Original Message-----
> From: Francisco Hernandez [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 27, 2003 8:11 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] example usage of ChainingInterceptor 
> and StaticParametersInterceptor
> 
> 
> could someone provide a situation for using a action chaining 
> and static 
> parameters?
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to