Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Webflow: Type Mismatch error is thrown even after setting Validation to false

 
Chandrasekar Manohar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Spring Webflow application with Basic CRUD operation of form values.

When User tries to enter invalid input like String on Numeric field(eg. Budget), we need to validate the form only when user hits submit.

When user hits Cancel, we don't need to validate the form and take the user back to listing page.

For this, as per Spring Webflow documentation I set Validate = false for Cancel flow.

But even then, the form model is getting validated and webflow is throwing Type Mismatch error.


So user couldn't leave the page on hitting cancel and stays on the same page.

 
Chandrasekar Manohar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Almost stuck with this issue. Awaiting Response.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic