-
14 Feb 2010 6:28 AM #511
MIF and Pages with EXT JS Scripts
MIF and Pages with EXT JS Scripts
I do not understand, why it should be not possible to load EXT JS Scripts in the Pages that are loaded by MIF Panel. (I also didn´t found the resource, where is written, that this is not possible)
On MIF Google Code there is the first sentence
So then there is some mismatch in the strategy and logic. Could the developer please bring some light in this problem?Ever try to use an Iframe element as a '''writable''' body to Ext.Panel? Perhaps to render your own content in isolation from the rest of the host page, or just load another website in a tab panel.
However, it is true, that loading EXT JS Scripts in the MIF Pages causes strange Problems.
Today I was trying to load several MIFs in Tabs with Ext 3.1.1 and MIF 2.1 (SVN rev 80,81,82). Loading the Pages was not a Problem. But as I try to close the Tab, my applications freezes. This only occurs in FF 3.0.XX, IE 7 (3.5 not tested). Chrome and IE 8 are working well. Opening "http://www.google.com" in e.g. 5 MIFs doesn`t causes any problems. By removing ext-all.js from my loaded pages everything works fine, but the application is gone.
Is this a known problem/restriction? It will be nice to discuss this "problem?!".
p.s. I have been using several EXT JS pages with MIF in EXT 3 and MIF 2 with success!
-
14 Feb 2010 6:42 AM #512
-
14 Feb 2010 6:49 AM #513
-
14 Feb 2010 7:19 AM #514
YOU ARE A HERO
YOU ARE A HERO
Dear murytyildiz,
you are my hero :-)
It works very nice!
I just suggest to add
orCode:style="height: 100%;"
Otherwise the IFRAME has small default height.Code:style="height: '+this.height+'px;"
This is very nice piece of code and the best - very simple and light.Code:header :this.header, html: '<div id="divTab-'+this.id+'" style="height: 100%;"><iframe id="frameTab-'+this.id+'" style="overflow:auto;width:100%;height:100%;" frameborder="0" src="'+this.url+'"></iframe></div>', width : this.width,
Thank you very much!
-
14 Feb 2010 7:46 AM #515
-
15 Feb 2010 11:29 AM #516
Same (IE DEP Crash) - MIF 2.1 (11 Jan 2010) EXT 3.1.1
Same (IE DEP Crash) - MIF 2.1 (11 Jan 2010) EXT 3.1.1
I get the same issue with MIF 2.1 and Ext 3.1.1. A simple Ext form panel used for a file upload works fine if the MIF extension isn't included on the page. Include MIF and the same upload code crashes IE with a DEP/Data Execution Prevention error. Upload works fine, it appears to be as above, the Ext.removeNode after the upload completes.
Anyone have any ideas on this?
-
15 Feb 2010 11:51 AM #517
MIF 2.1.1 (for Ext 3.1.1+ ONLY) is available in code.google trunk and zip !
Please report any issues you encounter ASAP.
"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
-
15 Feb 2010 11:57 PM #518
-
16 Feb 2010 12:48 AM #519
-
16 Feb 2010 5:19 AM #520
I am trying to get an element in a managed iframe but so far no luck.
this finds it but it does not return the Extjs element
var element = document.getElementById('name');
this doesn't find it
var element =Ext.getCmp('name');
How do I do this?
Thanks for the help.
SWK
Sorry - found that document.getElementById works for me fine.



Reply With Quote

