Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 89399 invoked from network); 27 Apr 2006 17:34:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2006 17:34:44 -0000 Received: (qmail 34669 invoked by uid 500); 27 Apr 2006 17:34:32 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 34635 invoked by uid 500); 27 Apr 2006 17:34:32 -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 34624 invoked by uid 99); 27 Apr 2006 17:34:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 10:34:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jmilkiewicz@gmail.com designates 64.233.162.195 as permitted sender) Received: from [64.233.162.195] (HELO nz-out-0102.google.com) (64.233.162.195) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 10:34:31 -0700 Received: by nz-out-0102.google.com with SMTP id 4so1661060nzn for ; Thu, 27 Apr 2006 10:34:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=aPuZ+jWByzkwWaWOYPT4PgygxWJbEpojp2ZVDhz2iALdfoNucLcegucuR1sxbR2Ha/hfHNlVLS0b2l1+9oXtN/F6R+dAldAYoD6WR3bmFDXv2057kHvJ4AK2oDHJ+N1OCNxWZxeqEnK+bDvaAs76KCp8BgRNisy4DOMdGXTS0pE= Received: by 10.37.14.33 with SMTP id r33mr7954110nzi; Thu, 27 Apr 2006 10:34:10 -0700 (PDT) Received: by 10.36.118.20 with HTTP; Thu, 27 Apr 2006 10:34:10 -0700 (PDT) Message-ID: <48cd571b0604271034k3007d574n410c67eb613b3703@mail.gmail.com> Date: Thu, 27 Apr 2006 19:34:10 +0200 From: "Jakub Milkiewicz" To: "Struts Users Mailing List" Subject: Re: validatewhen --- what's wrong? In-Reply-To: <5F1761E7ABCC1B4C93A78CE3ECA1C8D50A1E54@essex01.ess.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2156_20872424.1146159250491" References: <5F1761E7ABCC1B4C93A78CE3ECA1C8D50A1E54@essex01.ess.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_2156_20872424.1146159250491 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi To tell you the truth i do not understand what you wanna do... Anyway your validwhen condition is always true! Note that you are comparing *this* - for property password, with property password. It means something like 1=3D=3D1. 2006/4/26, Zheng Wen Zhe : > > Hey all, > > I wanna it say yes when a user type 'password' into this password field. > > But, it doesn't work that way. Validation always passes no matter what th= e > user has given into the password field. > > Pls, someone tell what wrong with it!!! > > > > Validation.xml > > **************** > > > > > "-//Apache Software Foundation//DTD Commons Validator Rules > Configuration 1.1.3//EN" > > "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd"> > > > > > >
> > > > > > > > > > > > > > test > > *this* =3D=3D password > > > > > > > >
> >
> > > >
> > > > > ------=_Part_2156_20872424.1146159250491--