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, [EMAIL PROT
:[EMAIL PROTECTED]
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
dation in the validators... For
several reasons to long to explain here.
Thanks for help again.
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 5:59 PM
To: MyFaces Discussion
Subject: Re: Cross validation problem
You can take a look
p.
Stephane
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 6:23 PM
To: MyFaces Discussion
Subject: Re: Cross validation problem
http://myfaces.apache.org/sandbox/validateCompareTo.html
Also in comments in the source code.
On 4/12
or help.
Stephane
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 6:23 PM
To: MyFaces Discussion
Subject: Re: Cross validation problem
http://myfaces.apache.org/sandbox/validateCompareTo.html
Also in comments in the source code.
O
Hi Stephane,
One way to do this is to set a hidden field as the *last* component on
your page.
Note : you need to have some value for the field, hence 'value="needed"'
When you run your validation on this component all the others have been
set.
backingBean is your backing bean with a val
6 matches
Mail list logo