Re: Struts 2: Action chaining behaving differently when validations fire
2008/5/5 egetchell [EMAIL PROTECTED]: I just re-read my post and noticed that the Struts configuration for the testB action somehow got mangled. The correct configuration for TestB is action name=testB class=testB method=submit result name=input type=chain testA display /result /action I'd suspect that validation errors are being chained to another action, so after the flow has been forwarded to testA it never reaches the display method. I'm not sure if you can get around it other (easy) way than removing validation interceptors from testA. best regards, Pawel -- Paweł Badeński Student MS Software Engineering Wroclaw University of Technology Wrocław, Poland
Re: Struts 2: Action chaining behaving differently when validations fire
I just came up with another idea. You could also try to move validation up the stack, so it's happening before chain.. It might be tricky tough (as Struts spec states: Sometimes the order of the Interceptors makes a difference.). best regards Pawel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 2: Action chaining behaving differently when validations fire
I just re-read my post and noticed that the Struts configuration for the testB action somehow got mangled. The correct configuration for TestB is action name=testB class=testB method=submit result name=input type=chain testA display /result /action -- View this message in context: http://www.nabble.com/Struts-2%3A-Action-chaining-behaving-differently-when-validations-fire-tp17065631p17070480.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]