Re: Compare two password fields with a validator
There is a sandbox compareTo componenent, you can try itregards...On 8/10/06, Tom Serru <[EMAIL PROTECTED] > wrote:Hi,Is there a way to create a validator to compare two fields (like a password and a password check field) ? I would like to have something like this asresult:... ..Thx...--View this message in context: http://www.nabble.com/Compare-two-password-fields-with-a-validator-tf2083442.html#a5740422Sent from the MyFaces - Users forum at Nabble.com. -- Murat HAZERElektrik-Elektronik Mühendisi - Electrical-Electronics EngineerBlog URL: http://www.projedunyasi.org
RE: Compare two password fields with a validator
http://myfaces.apache.org/tomahawk/validateEqual.html Thanks, Robert -Original Message- From: Tom Serru [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 10:32 AM To: users@myfaces.apache.org Subject: Compare two password fields with a validator Hi, Is there a way to create a validator to compare two fields (like a password and a password check field) ? I would like to have something like this as result: ... ... ... Thx... -- View this message in context: http://www.nabble.com/Compare-two-password-fields-with-a-validator-tf208 3442.html#a5740422 Sent from the MyFaces - Users forum at Nabble.com.
Re: Compare two password fields with a validator
validateCompareTo is a better choice than validateEqual. http://myfaces.apache.org/sandbox/validateCompareTo.html On 8/10/06, Robert Locklear <[EMAIL PROTECTED]> wrote: http://myfaces.apache.org/tomahawk/validateEqual.html Thanks, Robert -Original Message- From: Tom Serru [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 10:32 AM To: users@myfaces.apache.org Subject: Compare two password fields with a validator Hi, Is there a way to create a validator to compare two fields (like a password and a password check field) ? I would like to have something like this as result: ... ... ... Thx... -- View this message in context: http://www.nabble.com/Compare-two-password-fields-with-a-validator-tf208 3442.html#a5740422 Sent from the MyFaces - Users forum at Nabble.com.
Re: Compare two password fields with a validator
You will also get the better results by putting the validator on the second field on the page rather than on the first field on the page. This is especially true for validateEqual, but less important for validateCompareTo. On 8/10/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: validateCompareTo is a better choice than validateEqual. http://myfaces.apache.org/sandbox/validateCompareTo.html On 8/10/06, Robert Locklear <[EMAIL PROTECTED]> wrote: > http://myfaces.apache.org/tomahawk/validateEqual.html > > Thanks, > Robert > -Original Message- > From: Tom Serru [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 10, 2006 10:32 AM > To: users@myfaces.apache.org > Subject: Compare two password fields with a validator > > > Hi, > > Is there a way to create a validator to compare two fields (like a > password > and a password check field) ? I would like to have something like this > as > result: > > ... > > otherField="passwordCheck"/> > > ... > > ... > > Thx... > -- > View this message in context: > http://www.nabble.com/Compare-two-password-fields-with-a-validator-tf208 > 3442.html#a5740422 > Sent from the MyFaces - Users forum at Nabble.com. > >
Re: Compare two password fields with a validator
Just back from holiday... Thx a lot guys... I will try these solutions. Regards, Tom Mike Kienenberger wrote: > > You will also get the better results by putting the validator on the > second field on the page rather than on the first field on the page. > This is especially true for validateEqual, but less important for > validateCompareTo. > > On 8/10/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: >> validateCompareTo is a better choice than validateEqual. >> >> http://myfaces.apache.org/sandbox/validateCompareTo.html >> >> On 8/10/06, Robert Locklear <[EMAIL PROTECTED]> wrote: >> > http://myfaces.apache.org/tomahawk/validateEqual.html >> > >> > Thanks, >> > Robert >> > -Original Message- >> > From: Tom Serru [mailto:[EMAIL PROTECTED] >> > Sent: Thursday, August 10, 2006 10:32 AM >> > To: users@myfaces.apache.org >> > Subject: Compare two password fields with a validator >> > >> > >> > Hi, >> > >> > Is there a way to create a validator to compare two fields (like a >> > password >> > and a password check field) ? I would like to have something like this >> > as >> > result: >> > >> > ... >> > >> > > > otherField="passwordCheck"/> >> > >> > ... >> > >> > ... >> > >> > Thx... >> > -- >> > View this message in context: >> > >> http://www.nabble.com/Compare-two-password-fields-with-a-validator-tf208 >> > 3442.html#a5740422 >> > Sent from the MyFaces - Users forum at Nabble.com. >> > >> > >> > > -- View this message in context: http://www.nabble.com/Compare-two-password-fields-with-a-validator-tf2083442.html#a5902552 Sent from the MyFaces - Users forum at Nabble.com.