-
Mar 12th, 2012, 06:31 AM
#1
Transition specific validation?
My question to SWF experten.
I am seeking to make the possibility of different validation for different transition.
requestContext.getCurrentTransition() in Validator is null
The simple but not sufficient solutions are:
<transition on="seek" to="enterPatient" validate="false">
<transition on="save" to="enterPatient" validate="true">
How to use different validators for various transition?
-
Mar 15th, 2012, 10:29 AM
#2
It may be a lot more than what you're looking for, but we have a validation framework built to run with spring and webflow that supports applying different validation rules to a context (MVC url pattern or Webflow state). May be worth taking a look http://springjutsu.org/validation
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules