[ http://issues.apache.org/jira/browse/TAPESTRY-1207?page=comments#action_12460498 ] Peter Beshai commented on TAPESTRY-1207: ----------------------------------------
Ok. I had disregarded that idea since my value property was defined as a double in the Java class (I thought that that would automatically try and change the string input into a double before being used elsewhere). Oops :-) It might be a good idea to add some kind of a note on to that validation page in the user's guide that says some validators require translators to work. > Min and Max validators don't work > --------------------------------- > > Key: TAPESTRY-1207 > URL: http://issues.apache.org/jira/browse/TAPESTRY-1207 > Project: Tapestry > Issue Type: Bug > Affects Versions: 4.1.1 > Environment: FF 2.0; WinXP > Reporter: Peter Beshai > Assigned To: Jesse Kuhnert > Attachments: TestPage.html, TestPage.java > > > The cilent-side validation works fine, but the server-side validation throws > this exception: > java.lang.ClassCastException > java.lang.String > Stack Trace: > * org.apache.tapestry.form.validator.Min.validate(Min.java:58) > * > org.apache.tapestry.form.ValidatableFieldSupportImpl.validate(ValidatableFieldSupportImpl.java:99) > * > $ValidatableFieldSupport_10fa5773485.validate($ValidatableFieldSupport_10fa5773485.java) > * > org.apache.tapestry.form.TextField.rewindFormComponent(TextField.java:89) > ... > The attached files should show this -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
