Re: Tapestry 4.1.3 validation

2007-11-09 Thread Kevin Menard
Sorry, I misunderstood the original question. Andy's answer should be more helpful. -- Kevin On 11/9/07 11:13 AM, in article [EMAIL PROTECTED], "Peter Stavrinides" <[EMAIL PROTECTED]> wrote: > Thanks Kevin, but that didn't work? > > Kevin Menard wrote: >> Change listener="listener:formSubmit

Re: Tapestry 4.1.3 validation

2007-11-09 Thread Andreas Andreou
They are... but that one is a reserved parameter See http://tapestry.apache.org/tapestry4.1/components/form/form.html On 11/9/07, Peter Stavrinides <[EMAIL PROTECTED]> wrote: > Okay I will try this but the question remains, shouldn't informal > parameters render by default? according to the d

Re: Tapestry 4.1.3 validation

2007-11-09 Thread Peter Stavrinides
Okay I will try this but the question remains, shouldn't informal parameters render by default? according to the documentation the @Form component supports informal parameters. Peter Andreas Andreou wrote: http://www.nabble.com/AjaxSubmit-with-confirm-t3776797.html dojo.event.connect(doj

Re: Tapestry 4.1.3 validation

2007-11-09 Thread Andreas Andreou
http://www.nabble.com/AjaxSubmit-with-confirm-t3776797.html dojo.event.connect(dojo.ById('link'), "onclick", function(e) { if (!confirm('Are you sure?') e,preventDefault(); } ); Do something similar for the form... On 11/9/07, Peter Stavrinides <[EMAIL PROTECTED]> wrote: > From looking at the i

Re: Tapestry 4.1.3 validation

2007-11-09 Thread Peter Stavrinides
From looking at the in the output it appears that the informal parameters are not being rendered on my form tag? any ideas? Peter Stavrinides wrote: I want to run some custom JavaScript validation functions before the submit listener is called, something like this: function validateForm(o

Re: Tapestry 4.1.3 validation

2007-11-09 Thread Peter Stavrinides
Thanks Kevin, but that didn't work? Kevin Menard wrote: Change listener="listener:formSubmit" to success="listener:formSubmit" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tapestry 4.1.3 validation

2007-11-09 Thread Kevin Menard
Change listener="listener:formSubmit" to success="listener:formSubmit" -- Kevin On 11/9/07 4:24 AM, in article [EMAIL PROTECTED], "Peter Stavrinides" <[EMAIL PROTECTED]> wrote: > > I want to run some custom JavaScript validation functions before the > submit listener is called, something like