Results 1 to 2 of 2

Thread: Declarative validation possible?

  1. #1
    Join Date
    Feb 2009
    Posts
    10

    Question Declarative validation possible?

    How to do declarative validation of forms with Spring web flow. I'm aware that WF supports programmatic validation.

    But, as we do in Struts validation, I wanna do with an XML file to define all validation rules.

    How to do that with Spring WF?

  2. #2
    Join Date
    Nov 2008
    Posts
    742

    Default

    That's not a feature that's offered with SWF. You may need another framework or library as a supplement to provide this. Maybe commons-validator? I think this is what Struts uses, so you may want to take a look. Haven't tried integrating it with SWF, so I won't be of much help here.
    Last edited by InverseFalcon; Mar 6th, 2009 at 12:37 PM.

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
  •