myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Stephane.CLINCK...@ext.ec.europa.eu>
Subject RE: Cross validation problem
Date Thu, 12 Apr 2007 16:15:58 GMT
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
<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

Mime
View raw message