Re: 4.1 and "do it once" components

2007-05-16 Thread Geoff Callender
__ hth, Marcus -Original Message- From: Geoff Callender [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 4:09 PM To: Tapestry users Subject: Re: 4.1 and "do it once" components Thanks, Jesse, but I couldn't get it to work, possibly becau

RE: 4.1 and "do it once" components

2007-05-16 Thread Marcus.Schulte
ff Callender [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 15, 2007 4:09 PM > To: Tapestry users > Subject: Re: 4.1 and "do it once" components > > Thanks, Jesse, but I couldn't get it to work, possibly > because it's kind of self-referencing? > > On 05/05/20

Re: 4.1 and "do it once" components

2007-05-15 Thread Geoff Callender
Thanks, Jesse, but I couldn't get it to work, possibly because it's kind of self-referencing? On 05/05/2007, at 2:01 AM, Jesse Kuhnert wrote: Sure ...I think you can generally do something like: -) Use http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry- framework/src/js/tapestry

Re: 4.1 and "do it once" components

2007-05-04 Thread Jesse Kuhnert
Sure ...I think you can generally do something like: -) Use http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form/validation.js?view=markupas a reference. -) Override tapestry.form.validation.validateForm(form, props) with something else Like maybe ta

4.1 and "do it once" components

2007-05-04 Thread Geoff Callender
I've got this working in 4.0 but need some help getting it working with 4.1. It involves Tapestry's javascript. I have some "do it once" components, eg. SubmitOnce and DirectLinkOnce; which address the problem of multiple clicks (causing duplicate submissions). I've adapted them from the