Announcement Announcement Module
No announcement yet.
Declarative validation possible? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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, 12:37 PM.