Hi Christian, You can use @ValidationMethod(when=ValidationState.ALWAYS) to run all your validation methods even if previous ones fail.
I'm not 100% sure but I think this will cause your validation methods to be called as well even when built-in validation failed. So you might have to check for nulls in your custom validation code. Freddy On Mon, 17 Nov 2008 14:43:17 -0500, "Poitras Christian" <[EMAIL PROTECTED]> said: > Hi, > > I have multiple validation methods that needs to be executed before the > event executes. > > I would like to perform all custom validations even if other custom > validations failed. I would also like my custom validation to be called > only if binding succeeded. > When I try to execute the event, the validation stops as soon as any > custom validation fails and it shows me less errors then I would like. > > Is it possible to make Stripes run all my custom validations even if > one/many of them fail? > > Christian > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
