Title: Message
Gang,
 
I am having a little trouble getting my actions to chain correctly.
 
In fact, I am slightly unclear what the difference between the ActionChainResult result-type and the ChainingInterceptor interceptor is.
 
I want to execute two actions and have the results of action 1 passed to action 2.  My 'results' are stored in standard java props with public getters and setters.  I have the props named the same on both actions. So... my thoughts are that WW or XW should take from 1 and give to 2.  Thats what I am hoping for.
 
I have used both the ActionChainResult and the ChainingInterceptor... no luck.
 
When I used the Interceptor I added ONE entry into my defaultComponentStack for the chaining interceptor.  This was at the bottom of the stack.  Do I then need to ALSO add an ADDITIONAL ref to the params interceptor? I tried this but I could not get it to work.
 
So, I guess I have two questions. One, whats the difference between the two chainers? And secondly, how do I get my properties from Action 1 applied to Action 2.  BTW.. I have had no problem getting action 2 to be called after action1 just the results are not set.
 
Mike

Reply via email to