Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2009
    Posts
    80
    Vote Rating
    0
    squ3lch is on a distinguished road

      0  

    Default [CLOSED-592] FileUploadField (or TextField) in unrendered tbar

    [CLOSED-592] FileUploadField (or TextField) in unrendered tbar


    Ext version tested:
    • Ext 3.1.1 - NOT WORKING
    • Ext 3.1.0 - WORKING
    • Ext 3.0.3 - NOT WORKING


    Adapter used:
    • Ext
    • Prototype


    css used:
    • ext-all.css
    • fileuploadfield.css (stock)




    Browser versions tested against:
    • IE7
    • Firefox 3.6


    Operating System:
    • WinXP Pro


    Description:
    • When a FileUploadField (or any TextField or TextField extension) object is placed into the tbar of an unrendered panel (such as a hidden tab) the TextField portion will not render at all in IE7, and renders very small in Firefox 3.6. This was working correctly in 3.1.0 but has broken again in 3.1.1. Adding deferredRender to the config of the tabpanel has no effect.


    Test Case:

    Code:
    Ext.onReady(function(){
    
         tPanel1 = new Ext.Panel({
              tbar: [
                   new Ext.ux.form.FileUploadField({
                        width:200
                   })
              ]
         })
    
         tPanel2 = new Ext.Panel({
              tbar: [
                   new Ext.ux.form.FileUploadField({
                        width:200
                   })
              ]
         })
    
         var tForm = new Ext.TabPanel({
              activeTab: 0,
              anchor:'-10, -10',
              deferredRender:false,
              items: [
                   {
                        title: 'Tab 1',
                        layout: 'anchor',
                        items:[
                             tPanel1
                        ]
                   },{
                        title: 'Tab 2',
                        layout:'anchor',
                        deferredRender:false,
                        items:[
                             tPanel2
                        ]
                   }
              ]
         });
    
    
    
         var mainWindow = new Ext.Viewport({
            layout:'absolute',
            defaults:{x:10,y:5,anchor:"-10 -10",plain:true},
            items:[
                   tForm
            ]
         });
    
         mainWindow.doLayout();
    
    });
    Debugging already done:
    • none

  2. #2
    Ext JS Premium Member
    Join Date
    Oct 2009
    Posts
    80
    Vote Rating
    0
    squ3lch is on a distinguished road

      0  

    Default


    This bug is still present in 3.1.2

  3. #3
    Ext JS Premium Member
    Join Date
    Oct 2009
    Posts
    80
    Vote Rating
    0
    squ3lch is on a distinguished road

      0  

    Default


    This bug is still present in 3.2 rc1.

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    There are 2 things wrong with your example:
    1. deferredRender is a config option of TabPanel and not of a the panels inside a TabPanel.
    2. The size of tPanel1 and tPanel1 is unmanaged because you didn't specify an anchor (try adding anchor:'100%' to tPanel1 and tPanel2).

    ps. Your layout is probably overnested. Do you really need an extra panel to hold tPanel1/2?

  5. #5
    Ext JS Premium Member
    Join Date
    Oct 2009
    Posts
    80
    Vote Rating
    0
    squ3lch is on a distinguished road

      0  

    Default


    Thanks Condor, the anchor:'100%' solved the problem. Now it just seems FileUploadField is broken by 3.2.

    Devs please mark this as resolved.

Thread Participants: 1

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