Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
dojo.io.iframe.send more than once
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nicola Piccinini  
View profile  
 More options Nov 14 2009, 11:22 am
From: Nicola Piccinini <piccin...@gmail.com>
Date: Sat, 14 Nov 2009 17:22:37 +0100
Local: Sat, Nov 14 2009 11:22 am
Subject: [Dojo-interest] dojo.io.iframe.send more than once
Hi all,

I want to share my experience with dojo.io.iframe.send and IE 7 and Safari 4.
It works well only the first time it is called in a page, afterwards
no requests are sent to the target server.
At the end I've understood that I need to create the communication
iframe for every request, this is my workaround:

if ((dojo.isSafari || dojo.isIE) && dojo.io.iframe["_frame"])
{
  dojo.destroy(dojo.io.iframe['_frame']);
  var frameName = dojo.io.iframe._iframeName;
  dojo.io.iframe["_frame"] = window[frameName] = null;
  if (window.frames)
    window.frames[frameName] = null;

}

dojo.io.iframe.send(...)

I'm experiencing the problem both with dojo 1.3.2 and 1.4.0 beta.
In Firefox it works without any workaround instead.

Maybe it's related to this other discussion:
http://groups.google.com/group/dojo-interest/browse_thread/thread/61c...

Best,
Nicola
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-inter...@mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »