Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 8998 invoked from network); 25 Mar 2004 13:55:16 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Mar 2004 13:55:16 -0000 Received: (qmail 77141 invoked by uid 500); 25 Mar 2004 13:54:41 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 77129 invoked by uid 500); 25 Mar 2004 13:54:41 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 77080 invoked from network); 25 Mar 2004 13:54:40 -0000 Received: from unknown (HELO aquila.srg-ssr.ch) (146.159.4.16) by daedalus.apache.org with SMTP; 25 Mar 2004 13:54:40 -0000 Received: from mail.msc ([146.159.22.50]) by 146.159.6.3 with trend_isnt_name_B; Thu, 25 Mar 2004 14:57:53 +0100 Received: from moscow.sri.srg-ssr.ch ([146.159.48.99]) by mail.msc (mail.msc [146.159.22.50]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 22-md50000004051.tmp for ; Thu, 25 Mar 2004 14:51:47 +0100 Received: by moscow.sri.srg-ssr.ch with Internet Mail Service (5.5.2657.72) id ; Thu, 25 Mar 2004 14:54:37 +0100 Message-ID: <513F1D9DFA0CD311BC5B0008C773DC5F03453C42@moscow.sri.srg-ssr.ch> From: Eric.Lewis@swissinfo.ch To: commons-user@jakarta.apache.org Subject: RE: [Validator] Validators missing? Date: Thu, 25 Mar 2004 14:54:36 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MDRemoteIP: 146.159.48.99 X-Return-Path: Eric.Lewis@swissinfo.ch X-MDaemon-Deliver-To: commons-user@jakarta.apache.org X-Spam-Status: No, hits=-0.3 required=5.0 tests=EMAIL_ATTRIBUTION,MAILTO_TO_SPAM_ADDR,NO_REAL_NAME, ORIGINAL_MESSAGE,QUOTED_EMAIL_TEXT version=2.54 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) X-Spam-Report: ---- Start SpamAssassin results -0.30 points, 5 required; Message preview: Hmm... that's a pity. I find that the missing ones should be part of the basic set of validators, since most validations can be done using the Struts set. Eric Content analysis details: NO_REAL_NAME (0.8 points) From: does not include a real name EMAIL_ATTRIBUTION (-0.5 points) BODY: Contains what looks like an email attribution QUOTED_EMAIL_TEXT (-0.5 points) BODY: Contains what looks like a quoted email text MAILTO_TO_SPAM_ADDR (0.4 points) URI: Includes a link to a likely spammer email address ORIGINAL_MESSAGE (-0.5 points) Looks like a reply to a message ---- End SpamAssassin results X-Spam-Processed: mail.msc, Thu, 25 Mar 2004 14:51:49 +0100 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hmm... that's a pity. I find that the missing ones should be part of = the basic set of validators, since most validations can be done using the = Struts set. Eric -----Original Message----- From: David Graham [mailto:grahamdavid1980@yahoo.com] Sent: Donnerstag, 25. M=E4rz 2004 14:51 To: Jakarta Commons Users List Subject: Re: [Validator] Validators missing? Commons Validator really has two distinct components: 1. A configurable (typically xml) validation engine 2. Reusable "primitive" validation methods It provides no pluggable validator actions for feature 1 but feature 2 allows you to more easily build them. Struts' FieldChecks uses the methods from 2 to build pluggable validator actions. I'll add this info to the website. David --- Eric.Lewis@swissinfo.ch wrote: > Hi >=20 > Does anyone know why certain validators that exist in Struts are = missing > from the Commons Validator? I mean, they do exist in = GenericValidator, > but > not in the examples or TestValidator. That's why I took FieldCheck = from > Struts, which seems to do the same, but includes range, minLength and > maxLength. >=20 > But perhaps I'm also just a bit confused :-) >=20 > Eric >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org >=20 __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org