Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple rejectIfEmptyOrWhiteSpace validation

 
Aleksandar Mitrev
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to check if the form fields are empty inside spring flow declaration. I don't want to create Validator because I wan a simple check for form field required like
ValidationUtils.rejectIfEmptyOrWhiteSpace(errors, "name", "name.required" )
so is it possible to do this outside of validator class inside flow declaration - for example something like this:
If there is not such syntax in Spring, OGNL and EL, How can I preform this check inside validator for example
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic