Results 1 to 2 of 2

Thread: Reloading iframe after window collapse or expand

  1. #1
    Sencha User
    Join Date
    Jul 2014
    Posts
    7

    Default 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

  2. #2

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •