Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 49671 invoked from network); 2 Aug 2007 11:25:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2007 11:25:18 -0000 Received: (qmail 43151 invoked by uid 500); 2 Aug 2007 11:25:09 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 43129 invoked by uid 500); 2 Aug 2007 11:25:09 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 43118 invoked by uid 99); 2 Aug 2007 11:25:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 04:25:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [85.214.44.140] (HELO e.nrgie.net) (85.214.44.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 11:24:43 +0000 Received: from [192.168.100.2] (p508A7E61.dip.t-dialin.net [80.138.126.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by e.nrgie.net (Postfix) with ESMTP id 970FFEFC0CD for ; Thu, 2 Aug 2007 13:50:26 +0200 (CEST) Message-ID: <46B1BEFB.6080807@it-neering.net> Date: Thu, 02 Aug 2007 13:24:43 +0200 From: Rene Gielen User-Agent: IceDove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: Number Validator References: <4a12aaf80707301100m30f0875bg5ee912c09dd7df95@mail.gmail.com> In-Reply-To: <4a12aaf80707301100m30f0875bg5ee912c09dd7df95@mail.gmail.com> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Since entering a NAN value for a number property should result in conversion errors, you might want to checkout this: http://cwiki.apache.org/confluence/display/WW/conversion+validator Richard Sayre schrieb: > Is there a way to use the XML validation to check to see if a field is > a number? I used integer to check for min and max but if I enter any > text into the field it passes the validation. > > Thanks, > > Rich > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org