i started using annotation for my validation. that is great another xml
files is gone.
but when things got more complicated i had more methods in my action.
and on all methods there was done validation.
after a some search i found this:
----------------------------------

When multiple methods are used to map different actions on the same
class, and one of them is annotated with /@Validations/, those
validators will be triggered for all the actions, unless they are
annotated with @SkipValidation or /validateAnnotatedMethodOnly/ is set
to /true/ in the "validation" interceptor, like:

<interceptor-ref name="validation">
    <param name="validateAnnotatedMethodOnly">true</param>
    <param name="excludeMethods">input,back,cancel,browse</param>
</interceptor-ref>
------------------------------

but when i use this. after an error (whithout javascript) i get directed back 
to my succes page....


tibi




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to