I think minlength is the wrong validator for what you're trying to do. It
just checks the length of whats keyed in (i.e. the number of characters) ...
seems like you want a minimum value....you could use floatRange for this.

http://struts.apache.org/userGuide/dev_validator.html#builtin

Having said that...when you say its not validating...does that include the
"float" validator .... if you enter an invalid float does it give an error?

If thats not working then you need to check through the configuration. Are
there any errors from the validator PlugIn when the servlet starts up? If
not configure logging for "debug" and see if you can see it trying to call
the validator.

Niall

----- Original Message ----- 
From: "Vinicius Caldeira Carvalho" <[EMAIL PROTECTED]>
Sent: Tuesday, March 15, 2005 6:28 PM


> Vinicius Caldeira Carvalho wrote:
>
> > Hello there! I'm using for the first time, xdoclet to create my
> > validation.xml file (that really help)
> > But I got stuck in a point. I have a property that must be float and
> > also greater than 0. Here's what I've tried:
> >
> >
> >
> Sorry all. But I was using the wrong name for the validator. But yet
> it's not working, this time however, it's nor validating or outputing
> errors on console.
>
> any suggestions would be welcome
>
> regards



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

Reply via email to