1. #501
    Ext User
    Join Date
    Jan 2010
    Posts
    15
    Vote Rating
    0
    florin.raicu is on a distinguished road

      0  

    Default


    Quote Originally Posted by tester1 View Post
    You should not load the EXTJS Framework in the iFrames. Then you have no freezing problems. Access to Ext is possible through parent.ext .

    Hope this helps. For me it fixed all freezing issues.
    I'm not using iframes. I'm using mif in order to use the tinyMCE.

    When I'm using MIF and also a form in a tab (form with property uplod set to true) the IE is freezing

  2. #502
    Sencha - Community Support Team mschwartz's Avatar
    Join Date
    Nov 2008
    Location
    San Diego, Peoples' Republic of California
    Posts
    2,053
    Vote Rating
    17
    mschwartz will become famous soon enough mschwartz will become famous soon enough

      0  

    Default


    doug,

    Ext-3.1.1 (just downloaded), mif-2.1 (just downloaded from your repo).

    Code:
    region: 'center',
    layout: 'card',
    activeItem: 0,
    items: [
      ...
      {
        xtype: 'iframepanel',
        id: 'myframe',
        url: 'blank.html'
      }
    ...
    ]
    Much later in the program execution:

    Code:
    var myframe = Ext.getCmp('myframe');
    myframe.getFrameDocument().write('');
    myframe.getFrameDocument() is null

    (the function exists, but returns null)

    Steping into getFrameDocument():
    Code:
    getFrameDocument : function() {
      return this.getFrame() ? this.frameEl.getFrameDocument() : null;
    },
    and into getFrame():
    Code:
    getFrame : function(){
      if(this.rendered){
        if(this.frameEl){ return this.frameEl;}
        var f = this.items && this.items.first ? this.items.first() : null;
        f && (this.frameEl = f.frameEl);
        return this.frameEl;
      }
      return null;
    },
    this.frameEl is null.

    Additional info:

    Set a breakpoint at line ~2012 in mif.js in the onRender() function and it's never called.

  3. #503
    Ext User
    Join Date
    Oct 2008
    Posts
    4
    Vote Rating
    0
    tester1 is on a distinguished road

      0  

    Default


    Quote Originally Posted by florin.raicu View Post
    I'm not using iframes. I'm using mif in order to use the tinyMCE.

    When I'm using MIF and also a form in a tab (form with property uplod set to true) the IE is freezing
    MIF ist simply an Iframe with some additional logic. You simply should not load any EXTJS Scripts in the Pages that you load in an MIF Panel. That is documented on the MIF Page as well.

  4. #504
    Sencha User
    Join Date
    Jul 2008
    Posts
    33
    Vote Rating
    0
    muratyildiz is on a distinguished road

      0  

    Default MIF window close problem

    MIF window close problem


    I am able to resolve the problem by referencing miframe.js instead of mif.js. But I am getting 'this.dom.readyState is null or not an object' error in IE when closing a Iframe window. Window is closing but then browser locking.

    I am not getting this error in FF. But locking too.

    Code:
                var winMenuItem = new Ext.ux.ManagedIFrame.Window( {
                    title : baslik,
                    width : genislik,
                    height : yukseklik,
                    maximizable : true,
                    collapsable : true,
                    id : tabId + "Win",
                    constrain : true,
                    modal : showModal,
                    closeAction : 'hide',
                    onEsc : Ext.emptyFn(),
                    closable : true,
                    loadMask : {
                        msg : 'Loading...'
                    },
                    autoScroll : true,
                    defaultSrc : adres,
                });
                winMenuItem.show();
    close method

    Code:
            closeWindow : function(winId) {
                var win = window.parent.Ext.getCmp(winId);
                if (win) {
                    win.close();
                }

  5. #505
    Ext User
    Join Date
    Jan 2010
    Posts
    7
    Vote Rating
    0
    yugho is on a distinguished road

      0  

    Default


    Hi..

    I have several problems here with miframe. I need to use iframe.

    ExtJS : 3.1.1.
    Test case: webpage containing javascript with only 2 panels(collapsible), and include miframe extension
    miframe: 2 and 2_01

    IE: javascript error: _elCache.$_doc is null, row 31 of miframe.js
    Code:
    var f=function(){};f.prototype=El.prototype;var docEl=new f();docEl.dom=el;docEl._isDoc=true;return cache._elCache['$_doc']=docEl;}
    Firefox: page successfully loaded, but when upper panel is collapsed, lower panel won't relocated its position.

    I need to solve both problems.... I've checked the codes and several resources, but still can't figure out the problem. Please give me some clue. Thank you..

  6. #506
    Ext User
    Join Date
    Oct 2007
    Location
    Taranto, Italia
    Posts
    7
    Vote Rating
    0
    massimo is on a distinguished road

      0  

    Default Z-Order (I suppose) problem

    Z-Order (I suppose) problem


    I have the problem that you can see in the attached image.
    When the menu float over the iFrame (a page with a java applet) the menu item is totally visible but the underlying panel is not visible.

    I try setting z-order for the menu but I'm not able to solve the problem.

    Can someone help me?

    Sorry for my poor english, thank you.
    Attached Images

  7. #507
    Ext User TheBerliner's Avatar
    Join Date
    Apr 2009
    Posts
    226
    Vote Rating
    0
    TheBerliner is on a distinguished road

      0  

    Default Little doc error in eventsFollowFrameLinks

    Little doc error in eventsFollowFrameLinks


    Hello Doug,

    I am currently having a hard time getting link clicks out of an iFrame following your examples. I just don't understand how it works but I will spend a fourth day trying on my own before bugging you.

    But while reading through the documentation and sources I noticed one little error that might confuse others. The source comment for eventsFollowFrameLinks contains some wrong comment when I believe what is said here in the learning part.

    It's exactly the same comment that seems to be correct for disableMessaging.

    Just as a little hint.

    Regards
     

  8. #508
    Ext JS Premium Member
    Join Date
    Feb 2008
    Posts
    53
    Vote Rating
    0
    richgoldmd is on a distinguished road

      0  

    Default


    Quote Originally Posted by massimo View Post
    I have the problem that you can see in the attached image.
    When the menu float over the iFrame (a page with a java applet) the menu item is totally visible but the underlying panel is not visible.

    I try setting z-order for the menu but I'm not able to solve the problem.

    Can someone help me?

    Sorry for my poor english, thank you.

    This is not an MIF problem. This is an old problem with Ext. See this thread: http://www.extjs.com/forum/showthread.php?t=27515
    I am still using this fix in Ext3.1.1 - but the css changes are no longer needed.

    Here is my current override for this problem:

    Code:
    // Note +2 adjustments below... seems to solve shimming in IE7+ - needs further research
    // This appears to still be required in Ext 3.1.x The underlying code has not really changed.
    if (Ext.isIE) {
    Ext.Layer.prototype.sync = function(doShow){
        var sw = this.shadow;
        if(!this.updating && this.isVisible() && (sw || this.useShim)){
            var sh = this.getShim();
    
            var w = this.getWidth(),
                h = this.getHeight();
    
            var l = this.getLeft(true),
                t = this.getTop(true);
    
            if(sw && !this.shadowDisabled){
                if(doShow && !sw.isVisible()){
                    sw.show(this);
                }else{
                    sw.realign(l, t, w, h);
                }
                if(sh){
                    if(doShow){
                        sh.show();
                    }
                    // fit the shim behind the shadow, so it is shimmed too
                    var a = sw.adjusts;
                    var sa = Ext.isIE ? 2 : 0;
                    sh.setSize(w+a.w+sa, h+a.h+sa);
                    sh.setLeftTop(Math.min(l, l+a.l)+sa, Math.min(t, t+a.t)+sa);
                }
            }else if(sh){
                if(doShow){
                    sh.show();
                }
                sh.setSize(w, h);
                sh.setLeftTop(l, t);
            }
        }
    };    
    }

  9. #509
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    Quote Originally Posted by richgoldmd View Post
    This is not an MIF problem. This is an old problem with Ext. See this thread: http://www.extjs.com/forum/showthread.php?t=27515
    I am still using this fix in Ext3.1.1 - but the css changes are no longer needed.
    @richgoldmd:
    i've moved your original bug report from the 2.x Bug forum to the 3.x Bug forum, and bumped it as well to get things back on the radar.

    @jamie is requesting a test case for the issue, so if you could provide one, it would help speed things along.

  10. #510
    Sencha User
    Join Date
    Feb 2009
    Posts
    29
    Vote Rating
    0
    bocockli is on a distinguished road

      0  

    Default Vertical resize problem

    Vertical resize problem


    Hi

    I've got a basic setup of a modal window with a single iframe panel in it.

    If I resize the window horizontally and vertically, then click the magnifying glass over the image, the image will zoom and the panel bring in vertical and horizontal scrollbars as expected.

    However the image will only stretch horizontally to fill the increased panel size, not vertically. So I end up with a blank area at the bottom of the panel, rather than the image.

    Looking the the HTML for the iframe, you can see the width value changes on a resize, the height doesn't. Is this normal or a bug?

    Thanks, Len

Thread Participants: 191

  1. alien3d (2 Posts)
  2. Dumbledore (7 Posts)
  3. mystix (3 Posts)
  4. cobnet (4 Posts)
  5. mysticav (2 Posts)
  6. chiphi13 (2 Posts)
  7. xor (1 Post)
  8. Artistan (1 Post)
  9. Darklight (2 Posts)
  10. albertyips (3 Posts)
  11. kmiyashiro (1 Post)
  12. hoggy (1 Post)
  13. mark.lozano (1 Post)
  14. end-user (2 Posts)
  15. naxito (1 Post)
  16. tdikarim (5 Posts)
  17. hallikpapa (1 Post)
  18. smokeman (1 Post)
  19. carstep (1 Post)
  20. brookd (5 Posts)
  21. fermo111 (1 Post)
  22. soros (2 Posts)
  23. gelleneu (3 Posts)
  24. Hagge (1 Post)
  25. cherbert (7 Posts)
  26. marcoas (1 Post)
  27. jburgam (1 Post)
  28. Air_Mike (2 Posts)
  29. benwg (1 Post)
  30. massimo (2 Posts)
  31. stumpy_uk (1 Post)
  32. hat27533 (1 Post)
  33. bkraut (10 Posts)
  34. disizben (2 Posts)
  35. jphillips (10 Posts)
  36. lemanli (1 Post)
  37. gurpal2000 (4 Posts)
  38. boonkerz (2 Posts)
  39. kavon (1 Post)
  40. danderson (3 Posts)
  41. Yoris (4 Posts)
  42. paubach (1 Post)
  43. jbird526 (11 Posts)
  44. mitchellsimoens (1 Post)
  45. fanspace (3 Posts)
  46. nak1 (3 Posts)
  47. svdb (6 Posts)
  48. alessandro (7 Posts)
  49. sirioz10 (2 Posts)
  50. iulian (1 Post)
  51. jfa (1 Post)
  52. richgoldmd (1 Post)
  53. geese0090 (1 Post)
  54. spiderman123 (6 Posts)
  55. NOSLOW (2 Posts)
  56. mihaip007 (3 Posts)
  57. herry (1 Post)
  58. zombeerose (36 Posts)
  59. hp (3 Posts)
  60. Dave.Sanders (6 Posts)
  61. zerba78 (2 Posts)
  62. DTT_11-1983 (2 Posts)
  63. aranacarlospe (4 Posts)
  64. rule3 (2 Posts)
  65. ccherrett (1 Post)
  66. Eric24 (6 Posts)
  67. pico (2 Posts)
  68. ttbgwt (1 Post)
  69. zlt (1 Post)
  70. mcouillard (4 Posts)
  71. supercharge2 (2 Posts)
  72. wiznia (1 Post)
  73. niterain (2 Posts)
  74. simplessus (1 Post)
  75. kohyea (3 Posts)
  76. dubrovsky (5 Posts)
  77. muratyildiz (3 Posts)
  78. benmclendon (4 Posts)
  79. charleshimmer (3 Posts)
  80. jbones (1 Post)
  81. njw (2 Posts)
  82. paolocavelli (9 Posts)
  83. dhrystones (2 Posts)
  84. novant (1 Post)
  85. canxss (4 Posts)
  86. bigice (1 Post)
  87. Achim74 (1 Post)
  88. agalue (4 Posts)
  89. Drayton (2 Posts)
  90. tester1 (3 Posts)
  91. dreas (3 Posts)
  92. pkli (2 Posts)
  93. ibet (2 Posts)
  94. SunWuKung (2 Posts)
  95. mschwartz (30 Posts)
  96. armagedon (4 Posts)
  97. malstroem (1 Post)
  98. Stju (2 Posts)
  99. briang (4 Posts)
  100. mivilleb (3 Posts)
  101. AgentSmith (11 Posts)
  102. matmosis (7 Posts)
  103. theCodingChimp (4 Posts)
  104. achui_1980 (1 Post)
  105. MacSimon (1 Post)
  106. bocockli (1 Post)
  107. edykstra (1 Post)
  108. Jangla (1 Post)
  109. peteryjk (1 Post)
  110. Capt.JackSparrow (6 Posts)
  111. litou (1 Post)
  112. s2xi (1 Post)
  113. cdeclercq (1 Post)
  114. TomChiverton (4 Posts)
  115. mskdev (1 Post)
  116. i1befree (3 Posts)
  117. TheBerliner (1 Post)
  118. robertoroberto (2 Posts)
  119. Antjac (5 Posts)
  120. Tinki (7 Posts)
  121. pcr (3 Posts)
  122. decker.net (4 Posts)
  123. andynuss (36 Posts)
  124. extjs3user (1 Post)
  125. Henrik Rutzou (1 Post)
  126. mailme_gx (4 Posts)
  127. mthaynie (1 Post)
  128. Ankai (1 Post)
  129. Tom23 (3 Posts)
  130. jkerschb (1 Post)
  131. ish90an (1 Post)
  132. nick.shrayer (5 Posts)
  133. swarm (3 Posts)
  134. orugo (1 Post)
  135. Rick.McIntosh (1 Post)
  136. dtex-lab (6 Posts)
  137. asagala (1 Post)
  138. dusoo (4 Posts)
  139. runintostar (2 Posts)
  140. completej (1 Post)
  141. ironandsteel (5 Posts)
  142. zboris (2 Posts)
  143. squ3lch (2 Posts)
  144. scott.mohekey (4 Posts)
  145. wensa (1 Post)
  146. Artoiss (2 Posts)
  147. chu_man_fu (4 Posts)
  148. KommS (4 Posts)
  149. aleksf (1 Post)
  150. luca.santaniello (1 Post)
  151. wvx10 (2 Posts)
  152. hendratan (2 Posts)
  153. lwarring (2 Posts)
  154. weblin (1 Post)
  155. asp3ctus (1 Post)
  156. amit_gupta (3 Posts)
  157. yugho (4 Posts)
  158. florin.raicu (2 Posts)
  159. xmszhang (1 Post)
  160. cyrhades (1 Post)
  161. fff398 (2 Posts)
  162. dobberph (2 Posts)
  163. gorun-ul (1 Post)
  164. nicki (1 Post)
  165. After2050 (10 Posts)
  166. estesbubba (1 Post)
  167. scaddenp (11 Posts)
  168. Farkonix (1 Post)
  169. santoshsatav (1 Post)
  170. karthik085 (4 Posts)
  171. pesca506SAGE (1 Post)
  172. sosy (2 Posts)
  173. tronlt (1 Post)
  174. MrSparks (5 Posts)
  175. Michael A. (3 Posts)
  176. ebx6211 (1 Post)
  177. janwilleml (1 Post)
  178. cherepanov (1 Post)
  179. alexeiberkov (1 Post)
  180. hjfiou (1 Post)
  181. someone80 (1 Post)
  182. andersonv1 (1 Post)
  183. parsbin (6 Posts)
  184. FanOfExt (1 Post)
  185. qdch520 (1 Post)
  186. tboilard (2 Posts)
  187. siebmanb (1 Post)
  188. bauwelp (1 Post)
  189. kamalraj (1 Post)
  190. Waltzy (1 Post)
  191. sidthegooner (5 Posts)

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar