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 documentation the @Form > component supports informal parameters. > > Peter > > Andreas Andreou wrote: > > 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 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: > >>> > >>> <script> > >>> function validateForm(obj){ > >>> //checks go here > >>> return false; > >>> } </script> > >>> > >>> <form jwcid="[EMAIL PROTECTED]" onSubmit="return validateForm(this)" > >>> delegate="ognl:beans.errorLog" > >>> listener="listener:formSubmit" clientValidationEnabled=true> > >>> </form> > >>> > >>> If validateForm returns false I don't want to submit, but the listener > >>> method 'formSubmit' always seems to be called regardless, I am sure > >>> this is very trivial but I just can't find it. > >>> > >>> Thanks in advance, > >>> Peter > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]