commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: [validator] Usage page is useless
Date Tue, 20 Aug 2013 20:38:27 GMT
IMO a detailed example doesn't *belong* on the homepage; that is an
overview that accurately reflects the basic steps.

There are code samples on the links in the left nav under "Documentation".


On Tue, Aug 20, 2013 at 4:25 PM, Middlebrook, Barry <
Barry.Middlebrook@centurylink.com> wrote:

> This kind of narrative does not provide the kind of detail necessary to
> create a quick implementation. It's useless:
> Usage
> In order to use the Validator, the following basic steps are required:
> Create a new instance of the org.apache.commons.validator.Validator class.
> Currently Validator instances may be safely reused if the current
> ValidatorResources are the same, as long as you have completed any previous
> validation, and you do not try to utilize a particular Validator instance
> from more than one thread at a time.
> Add any resources needed to perform the validations, such as the JavaBean
> to validate.
> Call the validate method on org.apache.commons.validator.Validator.
> REF: http://commons.apache.org/proper/commons-validator/
> Would someone be so kind as to provide everyone a simple code example?
> Thank you.
>
>


-- 
e: davelnewton@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message