Hi,
when = ValidationState.ALWAYS should work as you expect.
Is your validation method public?
Regards,
Iwao
2012/8/15 Aaron Stromas <passog...@gmail.com <javascript:;>>:
> Hello,
>
> I have three attributes that I'm validating. One of them is annotated with
> @Validate whereas the other two are validated in the method annotated with
> @ValidationMethod. All three mus be provided value, however, if I don't
> enter the value, only the attribute which is annotated is validated and it
> seems that the validation method does not get a chance to execute.
> I would like to have all three validated before errors are reported.
> The validation method has the when=ValidationState.ALWAYS. I even tried
the
> set the Stripes filter parameter ValidationInvokeWhenErrorsExist to true
to
> no avail.
> I have a feeling that I would have to remove the @Validate annotation and
> validate all three in the validation method. Is that true or can I somehow
> combine both and have them all execute?
> Thanks,
>
> --
> Aaron Stromas
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users