Continuing with my validation problems, I think I've discovered a bug in how
struts2 handles the method invocation after validation.

Here is the submit tag:

<s:form action="ScheduleDetailAction_dontCallMe" validate="true">

and in the struts.xml

<result type="chain" name="dontCallMe">
     ScheduleDetailAction_callMe
</result>

If the form associated with the form tag gets validated succesfully,
everything works. However, if the validation fails, it tries to call the
dontCallMeMethod().

java.lang.NoSuchMethodException: ScheduleDetailAction.dontCallMeMethod()


HOWEVER - if I implement dontCallMe(), then everything works, but the
dontCallMe() method is NEVER called.

This seems to be bug to me?


-- 
View this message in context: 
http://old.nabble.com/s2%3A-Possible-bug-found---how-to-report-it--tp26443925p26443925.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to