I am using the tomahawk validateEqual tag to check if two (non mandatory)
fields on a form are equal to each other but hitting some problems related
to the order of the field validations.
In the example below the validation and error message attached to the second
field works fine. However
Not a solution but a question,
why have the validate equal on both components, it should only be
necessary to put it on one of the components (like the 2nd one). The
user shouldn't need two messages telling them they screwed up, one
should be necessary :-)
-Andrew
On 9/4/07, Suhel Rizvi [EMAIL
Robinson [EMAIL PROTECTED]
Reply-To: MyFaces Discussion users@myfaces.apache.org
To: MyFaces Discussion users@myfaces.apache.org
Subject: Re: [Tomahawk] validateEqual problem for second field
Date: Tue, 4 Sep 2007 10:41:39 -0600
Not a solution but a question,
why have the validate equal on both
Discussion users@myfaces.apache.org
Subject: Re: [Tomahawk] validateEqual problem for second field
Date: Tue, 4 Sep 2007 10:41:39 -0600
Not a solution but a question,
why have the validate equal on both components, it should only be
necessary to put it on one of the components (like the 2nd one
users@myfaces.apache.org
Subject: Re: [Tomahawk] validateEqual problem for second field
Date: Tue, 4 Sep 2007 11:12:44 -0600
I took a look into the code to make sure I knew what was going on and
here is what I found:
It looks like the problem you are having is due to the design
]
Reply-To: MyFaces Discussion users@myfaces.apache.org
To: MyFaces Discussion users@myfaces.apache.org
Subject: Re: [Tomahawk] validateEqual problem for second field
Date: Tue, 4 Sep 2007 11:12:44 -0600
I took a look into the code to make sure I knew what was going on and
here is what I
PROTECTED]
Reply-To: MyFaces Discussion users@myfaces.apache.org
To: MyFaces Discussion users@myfaces.apache.org
Subject: Re: [Tomahawk] validateEqual problem for second field
Date: Tue, 4 Sep 2007 10:41:39 -0600
Not a solution but a question,
why have the validate equal on both
.
So if I cant use this validator I need to find an alternative way to
solve this problem.
From: Andrew Robinson [EMAIL PROTECTED]
Reply-To: MyFaces Discussion users@myfaces.apache.org
To: MyFaces Discussion users@myfaces.apache.org
Subject: Re: [Tomahawk] validateEqual problem for second field
software projects.
From: Andrew Robinson [EMAIL PROTECTED]
Reply-To: MyFaces Discussion users@myfaces.apache.org
To: MyFaces Discussion users@myfaces.apache.org
Subject: Re: [Tomahawk] validateEqual problem for second field
Date: Tue, 4 Sep 2007 10:41:39 -0600
Not a solution
9 matches
Mail list logo