Ken-
Could we see the appropriate validator-rules.xml entry validator name="required" with particular attention to methodParams you reference?
Here is the reference
http://struts.apache.org/userGuide/dev_validator.html
Martin-
----- Original Message ----- From: "Dornback, Ken" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Monday, June 20, 2005 10:28 AM
Subject: Float Validation not working


I have to validate a float. I can type anything or nothing in and never
see a validation problem when I set the depends attribute to "required,
float".  The field just ends up 0 upon save.

If I add a floatRange, it will complain at least complain if a number is
outside of the range, but I don't need to enforce a range, since all
floats are valid.  Setting the validation to integer works, but I don't
want that.



Thanks.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to