Login Register

iframe

Loading Dojo in application IFRAME

I have this scenario...

My application based on TAB that in every TAB I load a IFRAME.
In every IFRAME there are a complex form that I have rendering with dojo widget and other function ( I have create a Upload control for example)

My question is:

"Every time that I load the IFRAME ...in the console of Firebug I see that dojo.js and my custom dojo.require js are loaded and this operation it's no fast.."

Help!!! DND across iframes :)

Hi @all,

I am a DOJO newbie and can't solve a problem I am currently facing.
On my Website I have an Iframe with draggable elements. It is no problem to initialize the main table object as a dojo.dnd.Source Object. But when I try to drag the -Elements the dojo.dnd.Manager has no nodes to clone:
(this dojo line of code fails: node = this.manager.nodes[i].cloneNode(true); )
How do I tell the manager to listen to dojoDndItem in an Iframe?

Here is the source code of the parent frame: (initDragAndDrop() is called by the IFrame onLoad event)

dojo.require("dojo.dnd.Source");

Abusing dojo.io.iframe for fun and profit

Hello,

I have the following problem: I'm trying to automate submission of forms via a hidden iframe, so I thought the dojo.io.iframe.* set of functions is just right for me. But I run into practical problems when trying to do this. In fact, my implementation works just fine in Safari and Firefox, but fails silently in IE7... I have been able to narrow this down to the following test case:

[SOLVED] dijit.byId(eleId).value returns undefined when widget is in iFrame.

When tried to get the value from dijit widgets the command dijit.byId(eleId).value works fine but when the same dojo widget is in iFrame I get undefined value or null value. The work around for text widget works fine by using following command:

Using dojo.io.iframe.send to download a file as an attachment has a problem

I have a web page with a button. When the user clicks the button I would like to download a csv file from the server to the client without changing the current document location. This best way I think to do this is using an IFRAME via dojo.io.iframe.send. Unfortunately it seems dojo.io.iframe.send doesn't completely support this.

My server sets the content type as text/csv and also the "Content-disposition" header as "attachment; filename=myfile.csv". What I would like is for a dialog to appear to prompt the user to open or save the file.

Maximum Simultaneous AJAX requests – browser limitation

Hi All,
I am working on a screen which has several grids and charts that need to refresh at a fixed interval.
The initial design involves 1 large AJAX request to fetch all the data for the entire screen. But as expected the JSON is very large and too unwieldy to handle. As an alternative we decided to have 5 AJAX requests instead of one that will be fired together to fetch data from the server.

Need tabs to used cached content

I'm using the following code to load a tab with a dynamically generated (iText) PDF. The tab itself is dynamically created, and loads my new PDF just fine. However, after the PDF is loaded in the tab, I DON't WANT the tab to send a new request off to the server to regenerate a new PDF when I switch between tabs. IE 6&7 display the tabs archived content (desired behavior). However, FireFox sends off a new request and retreives a new PDF when switching between tabs. I'd like to just display the original PDF.

Edit cell not displaying completely

I am working on the UI for a dojox grid created by one of the other developers on my project. When in edit mode, the iframe does not display completely. I believe I have narrowed down the problem to an incorrect overflow setting on the containing iframe. My problem is I cannot figure out where the code is that is genereating the iframe. If anyone can point my in the direction of the code responsible for generating the html output for the editable grid display cell it would be much appreciated.

Thanks!

The dojo.moj.oe

They say imitation is the most sincere form of flattery, and I agree. I had the pleasure of running an experiment writing an identical widget in Dojo, jQuery, and Prototype, and naturally ended up at the script.aculo.us website. Its one of those elegantly simple involving websites, where even if

Launch dialogbox outside Iframe

I am currently developing a on site message system using the dojo toolkit as the back bone. Now I wanted to know how and if it is possible to call a dialog box from a iframe? Or have the dialog box pop out of a iframe?

DigitalExpl0it

Syndicate content