1. #31
    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


    Can you post a current MIF and surrounding panel configs. Something doesn't sound right (just can't see it yet)
    "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.


  2. #32
    Ext User
    Join Date
    Sep 2007
    Posts
    12
    Vote Rating
    0
    cmarin is on a distinguished road

      0  

    Default Panel

    Panel


    Really appreciate this. Is this enough code or would more be better? Also, is there any way to make it so that Visual tab can't be closed?

    PHP Code:
        new Ext.TabPanel({
        
    region:'center',
        
    id:'tabPanel',
        
    deferredRender:false,
        
    activeTab:0,
        
    items:[{
            
    contentEl:'extform',
            
    title'Form',
            
    autoScroll:true
        
    },{
            
    title'Visual',
            
    id         'visual_tab',
            
    xtype     :'iframepanel',
            
    frameConfig: { name 'vizwin' }
        }]
    })
             ]
        });
        
    Ext.getCmp('visual_tab').setSrc('/cms/content/visual_edit?id=1&zone_id=1'); 
    Quote Originally Posted by hendricd View Post
    Can you post a current MIF and surrounding panel configs. Something doesn't sound right (just can't see it yet)

  3. #33
    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


    Also, is there any way to make it so that Visual tab can't be closed?
    Add closable:false to each tabPanel item.

    Not much help with the last post. The viewport is going to consume the entire browser client area, so content smaller than its borders (by default) will not generate scroll bars unless overflow occurs.

    Do scrollers appear if you resize the browser (making it smaller)?
    Do you have a live URL running to look at somewhere?
    "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.


  4. #34
    Sencha User svdb's Avatar
    Join Date
    Jan 2008
    Posts
    68
    Vote Rating
    2
    svdb is on a distinguished road

      0  

    Default exceptions on IE6

    exceptions on IE6


    Quote Originally Posted by hendricd View Post
    @svdb -- The MIF.setSrc function is wrapped for exception event handling, so IE6 must not be raising one for a mangled URL.

    Are you suggesting validation before applying it?
    In fact no. I can live w/o validation. On FF i'm using the exception notification to display a user friendly message-mask over the mif when a 404 is returned. Somehow the 404 causes a MIF exception to be raised, and that's exactly what I need. So, this works on FF, but not on IE: no MIF exception gets raised on IE.

    So my question in fact was, do you think this is because IE catches the 404 and replaces it by it's own default msg page before the iframe (and mif) gets a chance to notice there even was a 404, and there's nothing we can do about it?

  5. #35
    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


    @svdb -- MIF doesn't trap HTTP status on the frame It can't, unless you are using MIF.update (UpdateManager); then you could.
    "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.


  6. #36
    Ext User
    Join Date
    Dec 2007
    Posts
    62
    Vote Rating
    0
    colinexl is on a distinguished road

      0  

    Default iframe content starts hidden!

    iframe content starts hidden!


    Hi All,

    I'm putting and iframepanel inside a Panel which is inside a Window. I want the window with the iframe to show only after a button has clicked.

    Here's the code for the Window:

    PHP Code:
    Ext.onReady(function()
    {            
        
    createSetupChannelWindow = function()
        {
            
    dialog = new Ext.Window(
            {
                
    title'Add New User',
                
    autoScrolltrue,
                
    modaltrue,
                
    closablefalse,
                
    maximizablefalse,
                
    layout'fit',
                
    listeners:
                {
                
    //close: function(p) { setTimeout('app.users.reload()', 1000); }
                
    },
                
    items:
                {
                    
    layout'card',
                    
    xtype'panel',
                    
    id'iFrameContainer',
                    
    defaultType'iframecontent',
                    
    autoScrollfalse,
                    
    items
                    [{
                        
    xtype'iframepanel',
                        
    id'iFrameContent',
                        
    loadMasktrue,
                        
    autoShowtrue,
                        
    layout'fit',
                        
    defaultSrc'channelAdd'
                    
    }]
                }
            });
            
    dialog.show();
            
    dialog.setSize(800400);
            
    dialog.center();
           } 
    my Iframe is just a simple HTML page, for example "http://ww.google.com".

    In Firefox and IE, when I click on the button that displays the Window with the iframe, I see the window but no content in the iframe.

    I inspected the DOM and I noticed that the problem is my iFrameContent DIV has a class "x-panel x-hide-noresize" in Firefox. In IE I get a "x-panel x-hide-display".

    I tried doing

    PHP Code:
    Ext.get('iFrameContent').setVisible(true
    It works in FF, but in IE I'm still getting "x-panel x-hide-display" so nothing is displayed in IE.

    I was wondering why I'm getting this behavior, why is my iframe set to "hidden" on default?

    Thanks,
    Colin

  7. #37
    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


    @colinexl -- the x-hide-nosize is designed to solve the iframe/object/embed reflow problem (outlined here). As your layout involves a heavily nested heirarchy, start out by "living with the problem" to get the basics working. For now, add this in:

    Code:
    items: 
         { 
           layout: 'card', 
           xtype: 'panel', 
           id: 'iFrameContainer', 
           defaultType: 'iframepanelcontent', ??
           defaults : {  hideMode : 'display' },
           autoScroll: false, 
               items:  
               [{ 
                    xtype: 'iframepanel', 
                    id: 'iFrameContent', 
                    loadMask: true, 
                    autoShow: true, 
                    layout: 'fit',  //iframe panels have no items
                    defaultSrc: 'channelAdd' 
                  }]
    .... 
    Later, if you care whether your frame(s) refresh when you least expect it, you'll have to apply similar fixes in your upstream containers. I have a plugin (for any Ext.Component) I'll be releasing shortly to make that easier for all.
    "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. #38
    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


    @colinexl -- just tried your example. The reason why the panels (cards) are hidden is because they are not visible in a card layout until you have an activeItem:

    Code:
    items: 
         { 
           layout: 'card', 
           xtype: 'panel', 
           id: 'iFrameContainer', 
           defaultType: 'iframepanel',
           activeItem : 'iFrameContent',
           autoScroll: false, 
               items:  
               [{ 
                    xtype: 'iframepanel', 
                    id: 'iFrameContent', 
                    loadMask: true, 
                    autoShow: true, 
                    layout: 'fit',  //iframe panels have no items
                    defaultSrc: 'channelAdd' 
                  }]
    .... 
    "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. #39
    Ext User
    Join Date
    Dec 2007
    Posts
    62
    Vote Rating
    0
    colinexl is on a distinguished road

      0  

    Default


    @Doug Hendricks

    Hi Doug,

    Thank you very much for the reply. The problem was like you said, I didn't have an "activeTab" config option. Adding it in solved the problem!

    However, I still have a problem with the loadMask in IE7. In FF it works fine, but in IE I get a "false" text instead of a load mask.

    I've attached two screen shots to show this error.

    Thanks,
    Colin
    Attached Images

  10. #40
    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


    @stever -- Sorry, browsers will not permit an embedded script tag with a src property unless the iframe itself has a src property referencing a valid URL.

    That used to be the common iframe-injection tactic. That door is now closed.
    "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.


Thread Participants: 184

  1. franklt69 (7 Posts)
  2. galdaka (1 Post)
  3. jarrod (1 Post)
  4. jay@moduscreate.com (3 Posts)
  5. willgillen (1 Post)
  6. DaNCeT (1 Post)
  7. stever (1 Post)
  8. Dumbledore (1 Post)
  9. JeffBurr (1 Post)
  10. timb (2 Posts)
  11. dolittle (3 Posts)
  12. mystix (4 Posts)
  13. fangzhouxing (2 Posts)
  14. cobnet (3 Posts)
  15. mysticav (7 Posts)
  16. chiphi13 (1 Post)
  17. sdrew (2 Posts)
  18. Zakaroonikov (1 Post)
  19. DigitalSkyline (1 Post)
  20. Darklight (8 Posts)
  21. mirage (2 Posts)
  22. sj137 (2 Posts)
  23. NBRed5 (2 Posts)
  24. ethraza (1 Post)
  25. Ytorres (1 Post)
  26. javaopensource (2 Posts)
  27. naxito (7 Posts)
  28. pbaccari (2 Posts)
  29. Ronaldo (2 Posts)
  30. myrddin (2 Posts)
  31. provagino (3 Posts)
  32. mjlecomte (1 Post)
  33. ZooKeeper (7 Posts)
  34. liusyan (1 Post)
  35. border9 (1 Post)
  36. bbz (2 Posts)
  37. adkent (2 Posts)
  38. gelleneu (2 Posts)
  39. robin30 (6 Posts)
  40. ollyando (4 Posts)
  41. evilized (2 Posts)
  42. nkohari (1 Post)
  43. rballman (2 Posts)
  44. cmarin (5 Posts)
  45. mykes (2 Posts)
  46. bhomass (13 Posts)
  47. robiechahine (1 Post)
  48. wm003 (1 Post)
  49. egs (3 Posts)
  50. simonbun (1 Post)
  51. stumpy_uk (12 Posts)
  52. linker_lin (9 Posts)
  53. tpinne (3 Posts)
  54. Mthor (5 Posts)
  55. bkraut (2 Posts)
  56. disizben (2 Posts)
  57. GreigM (4 Posts)
  58. thoreking (1 Post)
  59. mikester (2 Posts)
  60. markpele (1 Post)
  61. donssmith (6 Posts)
  62. mankz (6 Posts)
  63. sjerry (1 Post)
  64. sanjshah (20 Posts)
  65. pigopl (2 Posts)
  66. nanich (2 Posts)
  67. marco76 (17 Posts)
  68. armit (2 Posts)
  69. colinexl (6 Posts)
  70. Romantik (6 Posts)
  71. wekkaw (2 Posts)
  72. paubach (11 Posts)
  73. zumpi (2 Posts)
  74. jbird526 (7 Posts)
  75. elishnevsky (2 Posts)
  76. markkl (2 Posts)
  77. svdb (8 Posts)
  78. basshcm (2 Posts)
  79. Boon (1 Post)
  80. csextjs (2 Posts)
  81. Richie1985 (5 Posts)
  82. iulian (1 Post)
  83. varsos (9 Posts)
  84. WixSL (7 Posts)
  85. Rafael (6 Posts)
  86. mbogdanovich (4 Posts)
  87. JErickson (3 Posts)
  88. cirvine (2 Posts)
  89. damian79 (1 Post)
  90. jimkan (4 Posts)
  91. specialagent24 (5 Posts)
  92. smartesttom (3 Posts)
  93. dias (2 Posts)
  94. zombeerose (4 Posts)
  95. eway (3 Posts)
  96. GOTTMODUS (1 Post)
  97. alexpgh (1 Post)
  98. keckeroo (1 Post)
  99. hp (1 Post)
  100. gpstatnon (5 Posts)
  101. jdecarvalho (1 Post)
  102. calverte (1 Post)
  103. SyRenity (3 Posts)
  104. zerba78 (14 Posts)
  105. vvietsch (1 Post)
  106. shuang (1 Post)
  107. Michou (2 Posts)
  108. shay2501 (4 Posts)
  109. pokerking400 (2 Posts)
  110. gbradley (2 Posts)
  111. cesarwbr (6 Posts)
  112. Ronhead (3 Posts)
  113. MichaelOstrovsky (4 Posts)
  114. tfulmino (1 Post)
  115. superFly77 (9 Posts)
  116. Jinping (2 Posts)
  117. evelynloo (4 Posts)
  118. excelsis (3 Posts)
  119. shirkavand (3 Posts)
  120. LovingIt (1 Post)
  121. emredagli (3 Posts)
  122. joedimagio (3 Posts)
  123. lucky_luk3 (2 Posts)
  124. peter seliger (2 Posts)
  125. cazzadori (2 Posts)
  126. wkwathen (3 Posts)
  127. afei (5 Posts)
  128. dubrovsky (5 Posts)
  129. muratyildiz (2 Posts)
  130. service@think-1st.de (8 Posts)
  131. vayumahesh (1 Post)
  132. salilak (1 Post)
  133. v.zen (8 Posts)
  134. Stephan Schrade (8 Posts)
  135. prp (1 Post)
  136. kunduvalappil (2 Posts)
  137. Bucs (13 Posts)
  138. butters1976 (7 Posts)
  139. alexw23 (1 Post)
  140. Drayton (8 Posts)
  141. abnervv (2 Posts)
  142. Hanna Lu (1 Post)
  143. telly (1 Post)
  144. carnifun (2 Posts)
  145. icryrainix (3 Posts)
  146. mschwartz (5 Posts)
  147. ke.xu (2 Posts)
  148. extjs_new (1 Post)
  149. piroman (15 Posts)
  150. cdeguzman (1 Post)
  151. kaglim (2 Posts)
  152. Alex84 (1 Post)
  153. rakhib (1 Post)
  154. ady@daxtechnologies.com (7 Posts)
  155. Grolubao (1 Post)
  156. johnfron (1 Post)
  157. westy (1 Post)
  158. chrizmaster (1 Post)
  159. col (2 Posts)
  160. jackjia (1 Post)
  161. gamunculus (1 Post)
  162. cdeclercq (3 Posts)
  163. muxcmux (1 Post)
  164. ahisis (3 Posts)
  165. easycodes (3 Posts)
  166. kanntronics (1 Post)
  167. Maxrunner (10 Posts)
  168. stitcherooni (3 Posts)
  169. Rushleader (2 Posts)
  170. Tinki (2 Posts)
  171. gamekingx (1 Post)
  172. nandubochkar (2 Posts)
  173. Hilbert (2 Posts)
  174. pabloflores (3 Posts)
  175. ashaihullin (2 Posts)
  176. the_traveller (1 Post)
  177. jasmina (4 Posts)
  178. luisloboborobia (1 Post)
  179. Macortel (3 Posts)
  180. liuqiwuhao@163.com (1 Post)
  181. scaddenp (3 Posts)
  182. hjfiou (1 Post)
  183. tstone84 (1 Post)
  184. jbarry (1 Post)

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi