Pages

Thursday, February 16, 2012

Spring WebFlow validation

Still trying to get a grasp on WebFlow validations. I'm obviously missing something here.

Validator: WebFlow can't find it. Period.
Explicit bindgings: kinda works, throws typeMismatch on empty field (all my properties are BigDecimal), still can't figure out how to display errors.

Model validation methods: also kinda works, throws both typeMismatch and requiredValue (my custom error) on empty fields. Also can't figure out how to display errors.

I'm thinking about trying Wicket for a presentation layer.

Update: Problem solved

No comments: