This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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