Results 1 to 2 of 2

Thread: Transition specific validation?

  1. #1
    Join Date
    Nov 2008
    Posts
    2

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

  2. #2
    Join Date
    Jan 2009
    Posts
    10

    Default

    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
  •