myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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 ?


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 [] 
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,
<> 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

View raw message