Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 83C93100C1 for ; Tue, 20 Aug 2013 20:38:53 +0000 (UTC) Received: (qmail 543 invoked by uid 500); 20 Aug 2013 20:38:52 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 421 invoked by uid 500); 20 Aug 2013 20:38:52 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 307 invoked by uid 99); 20 Aug 2013 20:38:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 20:38:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davelnewton@gmail.com designates 209.85.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 20:38:48 +0000 Received: by mail-oa0-f48.google.com with SMTP id o17so1805438oag.21 for ; Tue, 20 Aug 2013 13:38:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7xwmHMI+A49MxBLsYrvIpB+a85vqiPuzJGJkVSUhoao=; b=ZJpi9p1rduGcm+jdf0DdrBb9tf1Y9yNEFsqT37UrnzZvE+VarEQfBZB0YRqOPY1Op/ sC5HQl4kiG6lJG17S3Qho69Un95l+hK7yykHBzULtvizzEWAkxjBJ1RXRFZRfpm+sGxm 0nKFPtymDU00DnqjaDi84rU81FUFn5oReJirKJjzD1QWGfiCcI7nIg321qvWm/kFVQUV 9esWIl4Cn2Oz+7+NP4FMI/ztDdAKWh2uNpM4FxCLSBuokm8GSie93n6soTV12fv8mQ6P 174iw1+lWJQ+StkPWaMywU1FMwmHycaNWFqSTMC4Lw/uWvQ5Ue9R3AP93BW3Jy7xXCxS 3ZAQ== MIME-Version: 1.0 X-Received: by 10.182.153.200 with SMTP id vi8mr3962759obb.27.1377031107334; Tue, 20 Aug 2013 13:38:27 -0700 (PDT) Received: by 10.76.159.230 with HTTP; Tue, 20 Aug 2013 13:38:27 -0700 (PDT) In-Reply-To: <26B4F5B1240C1C448473E023BE9097DC073B75AC@PDDCWMBXEX504.ctl.intranet> References: <26B4F5B1240C1C448473E023BE9097DC073B75AC@PDDCWMBXEX504.ctl.intranet> Date: Tue, 20 Aug 2013 16:38:27 -0400 Message-ID: Subject: Re: [validator] Usage page is useless From: Dave Newton To: Commons Users List Content-Type: multipart/alternative; boundary=089e01494a50ff5a6504e4670933 X-Virus-Checked: Checked by ClamAV on apache.org --089e01494a50ff5a6504e4670933 Content-Type: text/plain; charset=ISO-8859-1 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 b: Bucky Bits g: davelnewton so: Dave Newton --089e01494a50ff5a6504e4670933--