[ http://issues.apache.org/jira/browse/TAPESTRY-1207?page=all ]
Jesse Kuhnert resolved TAPESTRY-1207.
-------------------------------------
Resolution: Invalid
Assignee: Jesse Kuhnert
I think you need to use one of the translator bindings:
http://tapestry.apache.org/tapestry4.1/usersguide/validation.html
ie translator="translator:number"
> 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]