I'm writing my own Validator class and in it, I have the following line:

errors.add(field.getKey(), ValidatorUtil.getActionError(application,
request, va, field));

but my compiler complains that there is no such method:  Field.getKey()

1.  has this been deprecated?  If so, what property do I put in there?  I'm
assuming
        its the field name but I don't want to put it in there statically.

I'm using:  struts-validator-200102072.jar

thanks!
ken



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

Reply via email to