1. #461
    Ext User
    Join Date
    Feb 2009
    Posts
    53
    Vote Rating
    0
    MacSimon is on a distinguished road

      0  

    Default loadingmask issue

    loadingmask issue


    Hi everyone,

    I have a little problem with my loadingmask.

    I have the following config.

    a managed iframe panel:

    Code:
    //managed IFramePanel for loading report
    var reportDetailsPanel = new Ext.ux.ManagedIFrame.Panel({
        id: 'reportDetailsPanel',
        title: "Détails du résultat",
        closable: false,
        loadMask: { hideOnReady: false, msg: 'Loading Report....' },
        tbar: assessmentsReportToolBar
    });
    a tabpanel wich contains the managed iframe panel and a grid:

    Code:
    //the tabpanel that contains the grid and the reportDetails
    var tabPanel = new Ext.TabPanel({
        region: "center",
        id: "tabPanel",
        activeTab: 0,
        border: true,
        items: [gridPanel, reportDetailsPanel]
    });
    my code for showing the report in the managed iframe panel:

    Code:
    //Shows the report for the correspondig row in the grid
    function ShowReport(id) {
        Ext.getCmp("tabPanel").activate('reportDetailsPanel');
        var Url = "myUrl?Id=" + id;
        Ext.getCmp("reportDetailsPanel").setSrc(Url);
    }
    The problem I have with the loadingmask is that it is shown from the top of the page to about half of my toolbar.
    The message is shown correctly in the center of the managedIframe.

    Sometimes is crashes because the corresponding element of the panel is not found.


    The page I am trying to load inside the panel has a config like below:

    Code:
    var mainPanel = new Ext.Panel({
        id: 'mainPanel',
        autoScroll: true,
        border: false
    });
     
    var viewPort = new Ext.Viewport({
        id: 'viewPort',
        layout: 'fit',
        items: [mainPanel]
    });
    with inside the mainpanel some more panels with html content wich is specified like this:

    Code:
    //(layout column is because it hase some more items added later in the code..)
    var row = new Ext.Panel({
        layout: 'column',
        border: false,
        title: title,
        collapsible: item.collapsible,
        width: widthOfTheReport,
        html: item.html
    });
     
    mainPanel.add(row);
    

    Thanks for your help.

  2. #462
    Sencha User
    Join Date
    Jan 2008
    Posts
    29
    Vote Rating
    0
    sirioz10 is on a distinguished road

      0  

    Default IE8 Crash

    IE8 Crash


    Hi,
    when miframe.js is loaded and I upload an image using Ext.ux.FileUploader IE8 simply crash without error log.
    Some Idea about the function that can cause the crash?

    In firefox 3.5 all work fine. [Ext 3.1.1 MIF 2.1].

    May be the same problem mentioned by albertyips :http://www.extjs.com/forum/showthrea...=71961&page=45

    Please help me!

    Thanks in advance.

  3. #463
    Sencha User
    Join Date
    Jan 2008
    Posts
    29
    Vote Rating
    0
    sirioz10 is on a distinguished road

      0  

    Default Confirmed!

    Confirmed!


    When Mif is loaded, upload a file cause crash in IE8, and my Ext version is the 3.1.1

    The following code cause the crash (Connection.js, function doFormUpload, line: 436):

    Code:
    if(!me.debugUploads){
       setTimeout(function(){Ext.removeNode(frame);}, 100);
    }
    The following override in miframe.js line: 1808 return an element instead of dom, so Ext.removeNode cause the error:
    Code:
        Ext.fly = El.fly = function(el, named, doc){
            var ret = null;
            named = named || '_global';
    
            if (el = Ext.getDom(el, doc)) {
                (ret = flies[named] = (flies[named] || new El.Flyweight())).dom = el;
                Ext.isDocument(el) && (ret._isDoc = true);
            }
            return ret;
        };

  4. #464
    Sencha User
    Join Date
    Jul 2007
    Location
    Italy
    Posts
    134
    Vote Rating
    0
    fermo111 is on a distinguished road

      0  

    Default Problem with google maps?

    Problem with google maps?


    I have the following problem:

    1) include the google maps library
    2) include the ManagedIFrame extension
    3) set firebug to break on all errors

    FB breaks at this line
    Code:
    rules[ssRules[j].selectorText.toLowerCase()] = ssRules[j];
    in the file ext/src/util/CSS.js. This line is executed as the result of the call highlighted below
    Code:
    var CSS = Ext.util.CSS;
    if(CSS){ 
        CSS.getRule('.x-hide-nosize') || //already defined?
    Since I wish to have "break on all errors" enabled, I don't know exactly how to fix it. Any suggestion?

  5. #465
    Ext User
    Join Date
    Jan 2010
    Posts
    4
    Vote Rating
    0
    amit_gupta is on a distinguished road

      0  

    Default ManagedIFrame with TreePanel

    ManagedIFrame with TreePanel


    Hi

    I am new to Ext JS and this is my first post on this forum.

    I am trying to do something similar to Westside Story demo where we have a TreePanel based menu for external links on the left side and Tabbed panel in the center to display the linked applications.

    First time when I click on a URL link in the Tree Panel, application open successfully in a new tab. Next time, When I click on a link, a new tab is created, the tab is split into two parts, showing first application in the first (top) part and the second application in the second (bottom) part.

    I am using ext-3.1.1-beta_5899-129 with ManagedIFrame 2.1. Any help would be highly appreciated.

  6. #466
    Sencha User bkraut's Avatar
    Join Date
    Nov 2007
    Location
    Maribor, Slovenia
    Posts
    402
    Vote Rating
    1
    bkraut is on a distinguished road

      0  

    Default


    I'm successfully creating an iframe and open it inside a window with following code:

    PHP Code:
    var iframe = new MIF.Panel({
                     
    //xtype: 'iframepanel',
                    
    borderfalse,
                    
    width800,
                    
    height600,
                    
    headerfalse,
                    
    loadMask: {
                        
    msg:"Loading..."
                    
    },
                    
    defaultSrc'Reporter/' node.attributes.attributes[0].nodeId,
                 }); 
    I would like to send some parameters also. How can I do that? Is my config unapropriate for sending parameters?

  7. #467
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default


    @fermo --
    Indeed, Firebug is not perfect. If you break on all errors, it will ! Even in a try{}catch block.

    Get used to it.



    Quote Originally Posted by fermo111 View Post
    I have the following problem:

    1) include the google maps library
    2) include the ManagedIFrame extension
    3) set firebug to break on all errors

    FB breaks at this line
    Code:
    rules[ssRules[j].selectorText.toLowerCase()] = ssRules[j];
    in the file ext/src/util/CSS.js. This line is executed as the result of the call highlighted below
    Code:
    var CSS = Ext.util.CSS;
    if(CSS){ 
        CSS.getRule('.x-hide-nosize') || //already defined?
    Since I wish to have "break on all errors" enabled, I don't know exactly how to fix it. Any suggestion?
    "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.


  8. #468
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Cool


    A reminder for you MIF 2.1 fans:

    Ext 3.1.x and MIF 2.1 still don't play well together, and likely wont fully support each other until after the 3.1.1 beta.

    Newcomers to the Ext framework interested in IFRAME development should consider 3.0.x first and migrate as things evolve.
    "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.


  9. #469
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Question


    @bkraut --
    Are you wanting to POST or GET to the frame? MIF 2.0.x has methods for both.



    Quote Originally Posted by bkraut View Post
    I'm successfully creating an iframe and open it inside a window with following code:

    PHP Code:
    var iframe = new MIF.Panel({
                     
    //xtype: 'iframepanel',
                    
    borderfalse,
                    
    width800,
                    
    height600,
                    
    headerfalse,
                    
    loadMask: {
                        
    msg:"Loading..."
                    
    },
                    
    defaultSrc'Reporter/' node.attributes.attributes[0].nodeId,
                 }); 
    I would like to send some parameters also. How can I do that? Is my config unapropriate for sending parameters?
    "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.


  10. #470
    Sencha User bkraut's Avatar
    Join Date
    Nov 2007
    Location
    Maribor, Slovenia
    Posts
    402
    Vote Rating
    1
    bkraut is on a distinguished road

      0  

    Default


    I'd like to use POST.

Thread Participants: 192

  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. wildweasel (1 Post)
  124. andynuss (36 Posts)
  125. extjs3user (1 Post)
  126. Henrik Rutzou (1 Post)
  127. mailme_gx (4 Posts)
  128. mthaynie (1 Post)
  129. Ankai (1 Post)
  130. Tom23 (3 Posts)
  131. jkerschb (1 Post)
  132. ish90an (1 Post)
  133. nick.shrayer (5 Posts)
  134. swarm (3 Posts)
  135. orugo (1 Post)
  136. Rick.McIntosh (1 Post)
  137. dtex-lab (6 Posts)
  138. asagala (1 Post)
  139. dusoo (4 Posts)
  140. runintostar (2 Posts)
  141. completej (1 Post)
  142. ironandsteel (5 Posts)
  143. zboris (2 Posts)
  144. squ3lch (2 Posts)
  145. scott.mohekey (4 Posts)
  146. wensa (1 Post)
  147. Artoiss (2 Posts)
  148. chu_man_fu (4 Posts)
  149. KommS (4 Posts)
  150. aleksf (1 Post)
  151. luca.santaniello (1 Post)
  152. wvx10 (2 Posts)
  153. hendratan (2 Posts)
  154. lwarring (2 Posts)
  155. weblin (1 Post)
  156. asp3ctus (1 Post)
  157. amit_gupta (3 Posts)
  158. yugho (4 Posts)
  159. florin.raicu (2 Posts)
  160. xmszhang (1 Post)
  161. cyrhades (1 Post)
  162. fff398 (2 Posts)
  163. dobberph (2 Posts)
  164. gorun-ul (1 Post)
  165. nicki (1 Post)
  166. After2050 (10 Posts)
  167. estesbubba (1 Post)
  168. scaddenp (11 Posts)
  169. Farkonix (1 Post)
  170. santoshsatav (1 Post)
  171. karthik085 (4 Posts)
  172. pesca506SAGE (1 Post)
  173. sosy (2 Posts)
  174. tronlt (1 Post)
  175. MrSparks (5 Posts)
  176. Michael A. (3 Posts)
  177. ebx6211 (1 Post)
  178. janwilleml (1 Post)
  179. cherepanov (1 Post)
  180. alexeiberkov (1 Post)
  181. hjfiou (1 Post)
  182. someone80 (1 Post)
  183. andersonv1 (1 Post)
  184. parsbin (6 Posts)
  185. FanOfExt (1 Post)
  186. qdch520 (1 Post)
  187. tboilard (2 Posts)
  188. siebmanb (1 Post)
  189. bauwelp (1 Post)
  190. kamalraj (1 Post)
  191. Waltzy (1 Post)
  192. sidthegooner (5 Posts)

Tags for this Thread