Pages

Saturday, February 18, 2012

Spring WebFlow Validation part 3 ("Duh")

"Duh" moment...

I didn't have to specify flowScope prefix in view-state model name. form-errors are binding now. Validators work as well.

Another thing that I came across: binding errors will prevent navigation, so add bind="false" to your transition node - validation="false" is not enough if you want this link to work always (i.e. Cancel link).

No comments: