commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <>
Subject Re: [Validator] Need to validate one field at a time
Date Thu, 05 Feb 2004 14:30:48 GMT
Validator was initially designed to validate all fields on a form not
individual fields.  Validating a single field would be useful and I have
looked at the bugzilla ticket for this issue.  What do you think needs to
change to allow single field validation?


--- Mike Sauer <> wrote:
> I would like to be able to validate just a single field.  I am making 
> use of the validator framework via struts and I am now considering using
> it to perform validation in a Swing application.  For a Swing app I 
> would like to validate each field as it loses focus.  In the 1.0.2 
> version of the validation framework the validateField method is 
> private.  In later versions I have noticed that this behavior is being 
> moved to the Field class but the methods appear to be package 
> protected.  Basically I would like to know if I am trying to do 
> something that the framework was never meant to and never will be able 
> to support.  Thanks.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message