Oh, and static parameters are used to parameterize an Action instance... For instance, if you had an EmailAction, you could parameterize it with the email server, login, etc....
> -----Original Message----- > From: Francisco Hernandez [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 12:50 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] example usage of > ChainingInterceptor and StaticParametersInterceptor > > > great, thanks for the explanation, now I see where to use > this, its also > good for putting this information on the wiki. > > Jason Carreira wrote: > > I created this: > > > > > http://wiki.opensymphony.com/space/Webwork+-+Why+would+I+use+Action+Ch > > ai > > 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 > > > > > > > > > > > > ------------------------------------------------------- > 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