Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 94014 invoked from network); 27 Nov 2001 09:39:04 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 27 Nov 2001 09:39:04 -0000 Received: (qmail 32 invoked by uid 97); 27 Nov 2001 09:39:15 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 29977 invoked by uid 97); 27 Nov 2001 09:39:14 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 29966 invoked from network); 27 Nov 2001 09:39:14 -0000 Message-ID: <06b701c17727$068bf530$9865fea9@spiritsoft.com> From: "James Strachan" To: References: <20011126174310.90352.qmail@web20407.mail.yahoo.com> Subject: Re: Proposal for Validation Framework Date: Tue, 27 Nov 2001 09:36:42 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Sounds interesting. I remember looking at the Form part of Baracuda which looked interesting also. http://barracuda.enhydra.org/cvs_source/Barracuda/docs/forms/high_level_over view.html It might be useful to combine these ideas with XML Schema for form/document validation? James ----- Original Message ----- From: "David Winterfeldt" To: Sent: Monday, November 26, 2001 5:43 PM Subject: Proposal for Validation Framework > This validation framework was made to work with Struts > originally, but it will work on any JavaBean. So in > some discussions we thought that it might be nice if > it was in commons so more people would know about it > and can use it. Also there could be more examples of > making it work with other frameworks than Struts. > Here is a brief description of the project and the > link to the site where it is posted (which has > documenation posted on it). > > The Validation Framework was made to work with Struts > although it can be used to perform validation on any > JavaBean (by using the Validator class). It can > perform basic validations to check if a field is > required, matches a regular expression, email, credit > card, and server side type checking and date > validation. Different validation rules can be defined > for different locales. The framework has basic support > for user defined constants which can be used in some > field attributes. The validation routines are > modifiable in the validation.xml file so custom > validation routines can be created and added to the > framework. JavaScript can be auto-generated that > matches the server side validation. The current tag > (JavascriptValidatorTag) relies on Struts, but could > be abstracted to generate Javascript for other > frameworks. > > http://home.earthlink.net/~dwinterfeldt/ > > Validating Outside of Struts > http://home.earthlink.net/~dwinterfeldt/overview.html#validatingOutsideOfStr uts > > Let me know if there are any questions. > > David Winterfeldt > > __________________________________________________ > Do You Yahoo!? > Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. > http://geocities.yahoo.com/ps/info1 > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: