saurabh des

Greenhorn
+ Follow
since Feb 02, 2015
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by saurabh des

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


Form:


Web flow context:


JSP



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:


Flow.xml

9 years ago