Hi,
I started using the struts validator package about a week ago and have
the following questions:
1 - How do I get the validator to validate a required field for a selection
box?
My selection is on an integer property. I noticed in the
validator-rules.xml file it is checking for type "select-one". What "type"
is a <html:select>? I tried replacing "select-one" with "select" but it
still doesn't find it.
2 - Cannot get the two password comparison example working. I put in the
code specified under ~dwinterfeldt. Was wondering if anyone has gotten this
working. The only difference I can see in my code and the example was that I
am using StrutsValidatorUtil.getActionError instead of
ValidatorUtil.getActionError (the latter the compiler complained about no
such method signature). Was wondering if there was a javascript method also
that could be included.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>