Why don't you show your complete action configuration with all the result
entries (better include and global results as well).
Do you define a result of name="input" as required for validation failure?
What version of Struts are you using?

On Fri, Nov 20, 2009 at 2:08 PM, ben_979 <benninesevenn...@yahoo.ca> wrote:

>
>
> 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