[Tomahawk] validateEqual problem for second field

2007-09-04 Thread Suhel Rizvi
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

Re: [Tomahawk] validateEqual problem for second field

2007-09-04 Thread Andrew Robinson
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

Re: [Tomahawk] validateEqual problem for second field

2007-09-04 Thread Suhel Rizvi
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

Re: [Tomahawk] validateEqual problem for second field

2007-09-04 Thread Andrew Robinson
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

Re: [Tomahawk] validateEqual problem for second field

2007-09-04 Thread Suhel Rizvi
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

Re: [Tomahawk] validateEqual problem for second field

2007-09-04 Thread Andrew Robinson
] 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

Re: [Tomahawk] validateEqual problem for second field

2007-09-04 Thread Mike Kienenberger
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

[Tomahawk] validateEqual problem for second field

2007-09-04 Thread Vadim Dmitriev
. 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

Re: [Tomahawk] validateEqual problem for second field

2007-09-04 Thread Mike Kienenberger
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