seems to me that it shouldn't matter what type of click generates the
event to tapestry. if we're talking form components, what's going to
notify tapestry that something happened is a POST, correct?
so all your client-side script has to do is cause a form submit on
double click, which could be as simple as an informal parameter
"ondblclick='this.form.submit()';"
is this what you're after?
-jeff
Robert Haycock wrote:
Cheers for that. I'll be using the onDblClick() event, just have to
wire it up best I can.
Rob.
-----Original Message-----
From: Patrick Casey [mailto:[EMAIL PROTECTED]
Sent: 22 September 2005 19:23
To: 'Tapestry users'
Subject: RE: DOUBLE_CLICK
The nature of the click doesn't get passed as part of an HTTP
POST
routine, so you can't determine that information purely from the
listener.
Potentially you could map your link to a javascript event
handler,
try to determine the nature of the click there, and set a flag in a
hidden
form field so that your listener could figure out what's afoot, but
you're
getting into some serious javascript nastiness.
Here's a link to a page with a decent doubleclick implementation
for
reference.
http://www.phys.uu.nl/~hofman/jsexp/expldoublecl.html
--- Pat
-----Original Message-----
From: Robert Haycock [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 11:01 AM
To: [email protected]
Subject: DOUBLE_CLICK
Hi,
Would someone be kind enough to tell me how I can associate a double
click with a listener please. Or do I just have a regular listener
and
check to see if it's a double click somehow?
Rob.
---------------------------------------------------------------------
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]