• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Spring Webflow - Unable to invoke annotation validation on a model bean

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please see the code snippet below. I My flow starts with display of a simple JSP with 3 fields. When i submit the form, i want the validations (JSR-303), configured via annotations on the form bean, to kick in and show the error messages. But that is not happening. The page is getting submitted to searchActions.findExistingPlayer method. Any pointers will help.

Config file:

Action mapping


Web flow context:


An update - I have also tried the model binding in the view state. It also fails to invoke the JSR-303 annotation validations on my bean.

What has worked so far is the custom validate${view-state-id} method. See below:


    Bookmark Topic Watch Topic
  • New Topic