struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paweł Badeński" <>
Subject Re: Struts 2: Action chaining behaving differently when validations fire
Date Tue, 06 May 2008 10:40:58 GMT
2008/5/5 egetchell <>:
>  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,

Paweł Badeński
Student MS Software Engineering
Wroclaw University of Technology
Wrocław, Poland
View raw message