Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 78246 invoked from network); 12 Apr 2007 16:23:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Apr 2007 16:23:29 -0000 Received: (qmail 48313 invoked by uid 500); 12 Apr 2007 16:23:30 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 48272 invoked by uid 500); 12 Apr 2007 16:23:30 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 48261 invoked by uid 99); 12 Apr 2007 16:23:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 09:23:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mkienenb@gmail.com designates 64.233.162.226 as permitted sender) Received: from [64.233.162.226] (HELO nz-out-0506.google.com) (64.233.162.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2007 09:23:21 -0700 Received: by nz-out-0506.google.com with SMTP id n29so266396nzf for ; Thu, 12 Apr 2007 09:23:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E1BjQPTFBAbepOfOH1PJKv/KVdzM5fIwp0Hf3S2Qh1WBv70DMJ9/QU2McStwXsnKnUt6m2ocTK+7ZhSUEo7E8ATQewbMR51ioYHU4k0UFRILABDJCxsuFpN2ZRHv0boFXxTMCiP+MHGQrFtW4Mdg8ieUiQDXm7irStZnVMGRvm8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EtEhB8NTRJIgOGsatXsIvMK3SKdTlJJ0Ll7Mqe/eSKalsEvmJPtHFYLFCZylOcrLnqFwl9x3HVBZrl79mnUq9XKZ8thZPWSul8lFgVqJD8oKTDOqtZSXuKiv+7DbJT0KGuIRSN0snRWSKTFm4MwEzzktTg7OARnBNOur1Xn7g00= Received: by 10.114.111.1 with SMTP id j1mr807653wac.1176394980800; Thu, 12 Apr 2007 09:23:00 -0700 (PDT) Received: by 10.114.200.8 with HTTP; Thu, 12 Apr 2007 09:23:00 -0700 (PDT) Message-ID: <8f985b960704120923s1ec90322vd0db1184ad977860@mail.gmail.com> Date: Thu, 12 Apr 2007 12:23:00 -0400 From: "Mike Kienenberger" To: "MyFaces Discussion" Subject: Re: Cross validation problem In-Reply-To: <803E7CC272B5144DAF6D1254F99DAA6F1F30D1@S-DC-EXM11.net1.cec.eu.int> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8f985b960704120859m2eb329a3ndd15221c2701ff58@mail.gmail.com> <803E7CC272B5144DAF6D1254F99DAA6F1F30D1@S-DC-EXM11.net1.cec.eu.int> X-Virus-Checked: Checked by ClamAV on apache.org http://myfaces.apache.org/sandbox/validateCompareTo.html Also in comments in the source code. On 4/12/07, Stephane.CLINCKART@ext.ec.europa.eu wrote: > Thanks for hint. > > Where can I find a sample of usage of t:compareToValidator ? > > Thanks. > > PS: It should be better for me to make the vaidation in the validators... For several reasons to long to explain here. > Thanks for help again. > > -----Original Message----- > From: Mike Kienenberger [mailto:mkienenb@gmail.com] > Sent: Thursday, April 12, 2007 5:59 PM > To: MyFaces Discussion > Subject: Re: Cross validation problem > > You can take a look at the details of how to handle cross-component > validation by reading the source code for the Tomahawk sandbox > t:compareToValidator validator. > > However, this is probably a case where it makes more sense to perform > your business validation in the action. > > On 4/12/07, Stephane.CLINCKART@ext.ec.europa.eu > wrote: > > > > > > > > Hi, > > > > In a login page I have 3 components: > > > > Login > > Password > > Domain > > > > I have a validator for Login & Password > > > > I should like in Validator of password to "knows" the value of the Domain. > > The value of the domain is not set when I validate the password. > > > > Do I have somethink special to do for defining the setting order? > > > > How to perform a "cross component validation"? > > > > Thanks a lot. > > > > Stephane >