lundi 19 janvier 2015

Reloading iframe after window collapse or expand

Hi guys,

i'm using Ext js 3.4

I create a window with an iframe that load a jsp. When the user Collapse or Expand the window the jsp associated to the iframe is reloaded. Why does it happens?? Is it a Bug?


Is there a way to avoid the reload?


This the code that reproduce the problem:



Code:



var win = new Ext.Window ({
id :'testwin'
,title : 'test win'
,width : 700
,height : 450
,border :false
,modal :false
,constrainHeader :true
,collapsible :true
,maximizable :true
,items : [{
xtype : "component" ,
autoEl : {
tag : 'iframe' ,
style : 'width:100%;height:100%;background-color:#DFE8F6;' ,
frameborder : 0 ,
src :' test.jsp'
}
}]

});
win.show();



Best Regards



Reloading iframe after window collapse or expand

Aucun commentaire:

Enregistrer un commentaire