This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

The problem is that the only validator that seems to trigger is depends="required". None of the others do. For example if I have depends="float" or depends="date" the validators just seem to get bypassed and the erroneous input results in java errors.

Ive searched the forums extensively but cannot find a solution. Can anybody give me some pointers?

In further experimentation I have noticed the following. All of the validators work fine provided the field of the underlying bean is a string. It appears as though the spring modules is doing things in the wrong order, i.e. it appears to be doing
1) attempt to populate the bean with submitted data
2) validate the submitted data

A more logical order would be
1) validate the submitted data
2) attempt to populate bean with submitted data