FYI, the issue was an <img src="" /> tag -- in Firefox, this results in
another request to the current URL. Resolved with a default image URL.
Thanks!
Jim
Jim wrote:
When I disable caching, I get three invocations rather than two. When
I disable JavaScript, I don't get any extra invocations. I've been
watching net traffic in Firebug and didn't see anything that looked
like it would be doing this, but at this point I'm assuming it's some
unintended side effect in my Dojo-based JavaScript, and not a
Tapestry-side problem.
Jim wrote:
I upgraded to 4.1.6, and I still have a listener that's consistently
being invoked twice off a single click.
The browser is not submitting multiple requests; at this point I am
pasting
"http://**context-path**/**page-name**,$DirectLink.sdirect?sp=1" into
the address bar and the listener is nonetheless being called twice.
My console output:
Starting listener
Ending listener; returning target page to be rendered
TargetPage: pageValidate
TargetPage: end: pageValidate
TargetPage: pageBeginRender
Starting listener
Ending listener; returning target page to be rendered
TargetPage: pageValidate
TargetPage: end: pageValidate
TargetPage: pageBeginRender
This matches what I see in the browser; the second request doesn't
occur until the browser's been fully-rendered. I'm using DirectLink
on another page and not running into this, so I'm having trouble
coming up with a test case for a bug report. Anyone have any insight
on the DirectLink service that can help me figure out what could be
going on?
Thanks,
Jim
Ken in nashua wrote:
I have seen listeners get called twice.
Have you tried 4.1.6-SNAPSHOT`
I may have complained before about this in 4.1.6 but have not
followed up on it.Best regards Ken in nashua
_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from
Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]