Yes, the Struts API is fine.

It's the struts annotations that specify a String value.  Since I'm using
annotations to set my validators, I have to use a String to specify field
length, which seems silly to me.

http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/validator/annotations/StringLengthFieldValidator.html#maxLength()

On 5/7/07, Dave Newton <[EMAIL PROTECTED]> wrote:

--- Caine Lai <[EMAIL PROTECTED]> wrote:
> So what's up with the Struts 2
> StringLengthFieldValidator's maxLength
> property being a String?

What?


http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.html#setMaxLength(int)

What version are you referring to?

d.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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


Reply via email to