Re: Checkbox required validation not working

2006-07-26 Thread Jesse Kuhnert
MaybeRealistically, it's probably not going to happen anytime soon as tapestry 4.0.X is such a pain in the ass to deploy. The 4.1 snapshot build with the change is deploying via maven as I write this email. On 7/26/06, Shing Hing Man <[EMAIL PROTECTED]> wrote: Any chance of doing to Tapes

Re: Checkbox required validation not working

2006-07-26 Thread Shing Hing Man
Any chance of doing to Tapestry 4.0.2 as well ? Shing --- Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Ouch, nice catch! I've applied the changes and will > deploy in next tapestry > 4.1 snapshot release later today. > > On 7/26/06, Shing Hing Man <[EMAIL PROTECTED]> wrote: > > > > I have tried

Re: Checkbox required validation not working

2006-07-26 Thread Jesse Kuhnert
Ouch, nice catch! I've applied the changes and will deploy in next tapestry 4.1 snapshot release later today. On 7/26/06, Shing Hing Man <[EMAIL PROTECTED]> wrote: I have tried out the suggestion in the post (*) http://article.gmane.org/gmane.comp.java.tapestry.user/38761/match=required+valida

Re: Checkbox required validation not working

2006-07-26 Thread Shing Hing Man
I have tried out the suggestion in the post (*) http://article.gmane.org/gmane.comp.java.tapestry.user/38761/match=required+validator to implement client side 'required' validation on a Checkbox compponent (in Tapestry 4.0.2). In (*), a validator with a custom javascript to validate a required ch

Re: Checkbox required validation not working

2006-06-25 Thread Adam Henderson Azudio
l Message - From: "Jesse Kuhnert" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Saturday, June 24, 2006 11:05 AM Subject: Re: Checkbox required validation not working Looks good Scott! I just wanted to say that in the upcoming 4.1 release the required

Re: Checkbox required validation not working

2006-06-25 Thread Adam Henderson Azudio
Sent: Saturday, June 24, 2006 11:05 AM Subject: Re: Checkbox required validation not working Looks good Scott! I just wanted to say that in the upcoming 4.1 release the required generated client side javascript handles any/all form input types and so will produce meaningful results univer

Re: Checkbox required validation not working

2006-06-25 Thread Adam Henderson Azudio
Sent: Saturday, June 24, 2006 11:05 AM Subject: Re: Checkbox required validation not working Looks good Scott! I just wanted to say that in the upcoming 4.1 release the required generated client side javascript handles any/all form input types and so will produce meaningful results univer

Re: Checkbox required validation not working

2006-06-24 Thread Martin Strand
lol best reply ever On Sat, 24 Jun 2006 18:55:55 +0300, Maura Wilder <[EMAIL PROTECTED]> wrote: no - Original Message - From: "Jesse Kuhnert" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Saturday, June 24, 2006 11:05 AM Subject: Re: Checkbox

Re: Checkbox required validation not working

2006-06-24 Thread Jesse Kuhnert
"no" what ? On 6/24/06, Maura Wilder <[EMAIL PROTECTED]> wrote: no - Original Message - From: "Jesse Kuhnert" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Saturday, June 24, 2006 11:05 AM Subject: Re: Checkbox required validation not work

Re: Checkbox required validation not working

2006-06-24 Thread Maura Wilder
no - Original Message - From: "Jesse Kuhnert" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Saturday, June 24, 2006 11:05 AM Subject: Re: Checkbox required validation not working Looks good Scott! I just wanted to say that in the upcoming 4.1 release the

Re: Checkbox required validation not working

2006-06-24 Thread Jesse Kuhnert
Looks good Scott! I just wanted to say that in the upcoming 4.1 release the required generated client side javascript handles any/all form input types and so will produce meaningful results universally when applied. On 6/24/06, Scott Russell <[EMAIL PROTECTED]> wrote: Hi Adam, The required val

Re: Checkbox required validation not working

2006-06-24 Thread Scott Russell
Hi Adam, The required validator generates client-side javascript that calls the Tapestry.require_field function. This is the code of that function: Tapestry.require_field = function(event, fieldId, message) { var field = this.find(fieldId); if (field.value.length == 0) event.i

Re: Checkbox required validation not working

2006-06-24 Thread Adam Henderson Azudio
iginal Message- From: Adam Henderson [mailto:[EMAIL PROTECTED] Sent: Saturday, June 24, 2006 8:23 AM To: Tapestry users Subject: Checkbox required validation not working Hi All, I'm doing a simple form that has a checkbox which must be checked in order to submit the form: clientValidati

RE: Checkbox required validation not working

2006-06-24 Thread James Carman
What happens if you take the listener off the button and put it on the form itself. -Original Message- From: Adam Henderson [mailto:[EMAIL PROTECTED] Sent: Saturday, June 24, 2006 8:23 AM To: Tapestry users Subject: Checkbox required validation not working Hi All, I'm doing a s

Checkbox required validation not working

2006-06-24 Thread Adam Henderson
Hi All, I'm doing a simple form that has a checkbox which must be checked in order to submit the form: T&C:validators="validators:required"/> name="Submit" value="Confirm"/> but if I can still submit my form without the checkbox being checked, so it looks like no validation is taking