Talk:ManageIframe:Manual:Frame Using (Legacy)
This version of our Learning Center is unmaintained.
This article may be out-of-date or contain incorrect information.
Please visit the new Sencha Learning Center for up-to-date material.
From Sencha - Learn
Hi,
I work in a application whose front end is ExtJS and back end is JAVA. The Web frameWork is Stripes.
There is a functionality where on click on a button is ExtJS should trigger a download over HTTP. In java side I have set all the content disposition header. But the browser does not respond since its an Ajax call.
So I have used a ManagedIFrame which whose source actually point to the action class in stripes, which is sending me the File as an InputStream.
The code is as follows:
var MIF = new Ext.ux.ManagedIFrame({
autoCreate: {
src: contextPath + downloadURL,
height: 350,
width: '100%'
}
});
The window With this code the file download window is generating but when the download completes the few Ext Components are getting disabled in FireFox 3. For IE it works fine
Can you help?
