1. #1
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default [2.0a1][CLOSED] Funky Resizable issue with dialog

    [2.0a1][CLOSED] Funky Resizable issue with dialog


    ** I am aware that i can put a min XY on this, our put a resizable: false - just thought i'd post this.


    See how i got this.
    http://screencast.com/t/rqXH4x0u

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

      0  

    Default


    interesting... please post your sample code. thanks.

  3. #3
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    PHP Code:
    var inACT1DocSearchComboClasses = [ ["ACC010"],["ACT001"],["ACT005"],["ACT006"],["AD01"],["AD02"],["AD03"],["AD04"],["AD05"],["AD06"],["AD07"],["AD08"],["ADIR005"],["ADIR010"],["ADIR015"],["ADSM02"],["ADSM03"],["ADSM04"],["ADSM06"],["AIN001"],["AIN002"],["AIN003"],["AIX010"],["AIX011"],["AIX012"],["AIX013"],["AIX014"],["AIX015"],["AIX020"],["AIX021"],["AIX022"],["AIX023"],["AIX024"],["AIX025"],["AIX030"],["AIX031"],["AIX032"],["AIX033"],["AIX034"],["AIX035"],["AIX040"],["AIX041"],["AIX042"],["AIX043"],["AIX044"],["AIX045"],["AIX100"],["ALARM001"],["ALARM1"],["ALARM10"],["ALARM11"],["ALARM12"],["ALARM13"],["ALARM14"],["ALARM15"],["ALARM16"],["ALARM17"],["ALARM18"],["ALARM19"],["ALARM2"],["ALARM20"],["ALARM21"],["ALARM22"],["ALARM23"],["ALARM24"],["ALARM25"],["ALARM26"],["ALARM27"],["ALARM28"],["ALARM29"],["ALARM3"],["ALARM30"],["ALARM31"],["ALARM32"],["ALARM33"],["ALARM34"],["ALARM35"],["ALARM36"],["ALARM37"],["ALARM38"],["ALARM39"],["ALARM4"],["ALARM40"],["ALARM41"],["ALARM5"],["ALARM6"],["ALARM7"],["ALARM8"],["ALARM9"],["ALTE006"],["AMGR001"],["AMGR002"],["AMGR005"],["AMGR007"],["AMGR008"],["AMGR011"],["AMGR0200"],["AMGR0201"],["AMGR0202"],["AMGR0203"],["AMGR0204"],["AMGR0310"],["AMGR0311"],["AMGR0312"],["AMGR0401"],["AMGR0402"],["AMGR0420"],["AMGR0501"],["AMGR0610"],["AMGR0611"],["AMGR0612"],["AMGR0620"],["AMGR0621"],["AMGR0622"],["AMGR0623"],["AMGR0626"],["AMGR0627"],["AMGR0628"],["AMGR063"],["AMGR0630"],["AMGR064"],["AMGR0640"],["AMGR0641"],["AMGR0650"],["AMGR066"],["AMGR104"],["AMGR105"],["AMGR106"],["AMGR107"],["AMGR108"],["AMGR109"],["AMGR110"],["AMGR111"],["AMGR113"],["AMGR114"],["AMGR115"],["AMGR116"],["AMGR117"],["AMGR118"],["AMGR119"],["AMGR121"],["AMGR122"],["AMGR123"],["AMGR124"],["AMGR125"],["AMGR128"],["AMGR130"],["AMGR131"],["AMGR132"],["AMGR133"],["AMGR134"],["AMGR135"],["AMGR136"],["AMGR137"],["AMGR138"],["AMGR139"],["AMGR1400"],["AMGR1401"],["AMGR1402"],["AMGR1403"],["AMGR1404"],["AMGR1405"],["AMGR1406"],["AMGR1407"],["AMGR1408"],["AMGR141"],["AMGR142"],["AMGR143"],["AMGR144"],["AMGR145"],["AMGR146"],["AMGR147"],["AMGR148"],["AMGR149"],["AMGR151"],["AMGR152"],["AMGR153"],["AMGR155"],["AMGR156"],["AMGR157"],["AMGR158"],["AMGR161"],["AMGR162"],["AMGR170"],["AMGR171"],["AMGR172"],["AMGR173"],["AMGR174"],["AMGR175"],["AMGR176"],["AMGR180"],["AMGR181"],["AMGR182"],["AMGR183"],["AMGR184"],["AMGR185"],["AMGR186"],["AMGR187"],["AMGR189"],["AMGR191"],["AMGR192"],["AMGR200"],["AMGR206"],["AMGR212"],["AMGR214"],["AMGR220"],["AMGR250"],["AMGR251"],["AMGR312"],["AMGR701"],["APPMS001"],["APPMS002"],["APPMS003"],["APPMS004"],["APPMS005"],["APPMS006"],["APPMS007"],["APPMS008"],["APPMS009"],["ASSC015"],["ASSC017"],["ATTNOC1"],["ATTNOC2"],["ATTNOC3"],["ATTNOC4"],["ATTNOC5"],["ATTNOC805"],["AUTO2"],["AVAY005"],["BCK102"],["BCK103"],["BCK200"],["BCK201"],["BES01"],["BES02"],["BES03"],["BES04"],["BMC001"],["BMC01"],["BMC05"],["BMC07"],["BMC08"],["BMC09"],["BMC100"],["BMC103"],["BMC106"],["BMC110"],["BMC14"],["BMC19"],["BMC20"],["BMC200"],["BMC201"],["BMC202"],["BMC203"],["BMC204"],["BMC205"],["BMC206"],["BMC207"],["BMC208"],["BMC209"],["BMC21"],["BMC210"],["BMC211"],["BMC212"],["BMC213"],["BMC214"],["BMC216"],["BMC217"],["BMC218"],["BMC22"],["BMC221"],["BMC222"],["BMC223"],["BMC224"],["BMC225"],["BMC228"],["BMC229"],["BMC230"],["BMC231"],["BMC300"],["BMC301"],["BMC302"],["BMC303"],["BMC3031"],["BMC309"],["BMC400"],["BMC401"],["BMC402"],["BMC403"],["BMC404"],["BMC405"],["BMC406"],["BMC407"],["BMC408"],["BMC409"],["BMC410"],["BMC411"],["BMC412"],["BMC413"],["BMC414"],["BMC415"],["BMC416"],["BMC417"],["BMC418"],["BMC419"],["BMC420"],["BMC421"],["BMC422"],["BMC423"],["BMC424"],["BMC425"],["BMC426"],["BMC427"],["BMC428"],["BMC440"],["BMC500"],["BMC501"],["BMC503"],["BMC507"],["BMC509"],["CHANNEL"],["CIM001"],["CIM002"],["CIM003"],["CIM004"],["CIM005"],["CIM006"],["CIM007"],["CIM008"],["CIM010"],["CIM011"],["CIM012"],["CIM013"],["CIM016"],["CIM017"],["CIM026"],["CIM030"],["CIM031"],["CIP2301"],["CIP2302"],["CIP2305"],["CIP2321"],["CIP2322"],["CIP2501"],["CIP2502"],["CKST001"],["CLAR005"],["CPU005"],["CPU006"],["CPU020"],["CWP001"],["DB2001"],["DB2005"],["DBA005"],["DBA025"],["DBA035"],["DBA205"],["DBA305"],["DBLOCK01"],["DBUNX001"],["DISTP001"],["DISTP002"],["DISTP003"],["DISTP021"],["DNS002"],["DNS003"],["DNS004"],["DNS01"],["DPROX005"],["EDS010"],["EDS020"],["EDS030"],["EDS040"],["EDS050"],["EDS060"],["EDS070"],["EDS080"],["EDS090"],["EDS095"],["EDS6010"],["EDS6020"],["EDS6030"],["EDS6040"],["EFOL25"],["ELITE001"],["EM001"],["EMAIL205"],["EMC001"],["EMC002"],["EMC003"],["EMC004"],["EMC005"],["ENDC006"],["ENDC01"],["ENDC010"],["ERL005"],["EXCH01"],["EXCH02"],["EXCH03"],["EXCH04"],["EXCH05"],["EXCH06"],["EXCH07"],["EXCH08"],["EXCH09"],["EXCH10"],["EXCH11"],["EXCH12"],["EXCH13"],["EXCH14"],["EXCH15"],["EXCH16"],["EXCH17"],["EXCH18"],["EXCH19"],["EXCH20"],["EXCH21"],["EXCH22"],["EXCH23"],["EXCH24"],["EXCH25"],["EXCH26"],["EXCH27"],["EXCH28"],["EXCH29"],["EXCH30"],["EXCH31"],["EXCH32"],["EXCH33"],["EXCH34"],["EXCH35"],["EXCH36"],["EXCH37"],["EXCH38"],["EXCH39"],["EXCH40"],["EXCH41"],["EXCH42"],["EXCH44"],["EXCH45"],["EXCH46"],["FILE01"],["FILE02"],["FORTE001"],["FORTE003"],["FORTE004"],["FORTE006"],["FSI001"],["FSI002"],["HPCL001"],["HPOV020"],["HPOV030"],["HPOV22"],["HWS005"],["HWS025"],["HXGS005"],["IC010"],["IC011"],["IHC005"],["IHC006"],["INET030"],["INFX001"],["INFX002"],["INFX003"],["INFX004"],["INSL005"],["INSL025"],["IPC005"],["IPC025"],["IPRNT05"],["IRIS01"],["IRON005"],["IRON025"],["IRONMAIL10VERIFYSTEPS"],["IRONMAIL15VERIFYSTEPS"],["IRONMAIL20VERIFYSTEPS"],["IRONP005"],["ITDI01"],["ITDI02"],["ITDI03"],["ITDI04"],["ITDI05"],["ITDI06"],["ITDI07"],["ITDI08"],["ITDI09"],["ITDI10"],["ITDI20"],["ITDI21"],["ITDI22"],["ITDI24"],["ITE001"],["ITIM005"],["ITIM006"],["ITIM007"],["ITIM008"],["ITIM009"],["JGARCIA123"],["LDAP005"],["LDAP010"],["LDAP205"],["LDAP305"],["LMS9105"],["LMS9115"],["LNX001"],["LOC001"],["LOC002"],["LOC003"],["LOC011"],["MAE001"],["MAE002"],["MAE003"],["MAE004"],["MAIL005"],["MARQ005"],["MARS005"],["MARS010"],["MARS011"],["MARS012"],["MARS013"],["MARS014"],["MARS015"],["MARS020"],["MARS0205"],["MARS025"],["MARS030"],["MARS032"],["MARS033"],["MARS034"],["MARS035"],["MARS040"],["MARS041"],["MARS045"],["MARS050"],["MARS061"],["MARS062"],["MARS063"],["MARS065"],["MARS066"],["MARS067"],["MARS075"],["MARS080"],["MARS081"],["MARS082"],["MARS083"],["MARS084"],["MARS085"],["MARS090"],["MARS091"],["MARS097"],["MARS100"],["MARS105"],["MARS115"],["MARS120"],["MARS1440"],["MARS2340"],["MARS3005"],["MARSPGL1"],["MARSPGL2"],["MCOM005"],["MCOM006"],["MCOM020"],["MCOM103"],["MCOM104"],["MCOM105"],["MCOM106"],["MCOM107"],["MCOM108"],["MCOM200"],["MCOM201"],["MCOM202"],["MCOM203"],["MCOM204"],["MCOM205"],["MCOM206"],["MCOM207"],["MCOM208"],["MCOM209"],["MCOM210"],["MCOM211"],["MCOM405"],["MCOM425"],["MERC005"],["MERC010"],["MERC015"],["MERC020"],["MERC025"],["MERC030"],["MERC031"],["MERC035"],["MERC040"],["MERC045"],["MERC050"],["MERC051"],["MERC052"],["MERC055"],["MERC060"],["MERC065"],["MERC066"],["MERC067"],["MERC070"],["MERC075"],["MERC076"],["MERC077"],["MERC080"],["MERC085"],["MERC090"],["MERC095"],["MERC100"],["MERC105"],["MERC110"],["MERC111"],["MERC115"],["MERC120"],["MERC125"],["MERC130"],["MERC135"],["MERC140"],["MERC145"],["MERC146"],["MERC150"],["MERC155"],["MERC160"],["MERC165"],["MERC170"],["MERC175"],["MERC180"],["MERC185"],["MERC186"],["MERC190"],["MERC195"],["MERC196"],["MERC200"],["MERC305"],["MERC323"],["MERC9105"],["MERC9110"],["MERC9112"],["MERC9113"],["MERC9115"],["MERC9120"],["MERC9121"],["MERC9122"],["MERC9171"],["MERC9172"],["MERC9173"],["MERC9174"],["MERC9175"],["MERC9176"],["MERC9177"],["MERC9178"],["MERC9179"],["MERC9180"],["MERC9181"],["MERC9182"],["MERC9206"],["MERC9211"],["MERC9215"],["MERC9221"],["MERC9231"],["MERC9241"],["MERC9251"],["MERC9252"],["MERC9253"],["MERC9254"],["MERC9261"],["MERC9270"],["MERC9280"],["MERC9285"],["MERC9286"],["MERC9288"],["MERC9289"],["MERC9290"],["MERC9295"],["MERC9297"],["MERC9301"],["MERC9307"],["MERC9311"],["MERC9312"],["MERC9313"],["MERC9314"],["MERC9315"],["MERC9316"],["MERC9317"],["MERC9351"],["MERC9352"],["MERC9353"],["MERC9354"],["MERC9355"],["MERC9356"],["MERC9357"],["MERC9358"],["MERC9381"],["MERC9382"],["MERC9383"],["MERC9384"],["MERC9385"],["MERC9386"],["MERC9387"],["MERC9390"],["MERC9391"],["MERC9585"],["MERC9590"],["MERL001"],["MERL002"],["MERL003"],["MERL005"],["MERL006"],["MERL020"],["MERL100"],["MERL102"],["MERL103"],["MERL104"],["MERL105"],["MERL106"],["MERL107"],["MERL108"],["MERL109"],["MERL125"],["MIGL001"],["MIGL021"],["MIGL022"],["MIGL023"],["MIGL024"],["MIGL025"],["MIOF222"],["MITC005"],["MMPL005"],["MOSA006"],["MOSA008"],["MOSA010"],["MOSA011"],["MOSA014"],["MQS200"],["MQS204"],["MQS207"],["MQS208"],["MQS209"],["MQS211"],["MQS212"],["MQS216"],["MQS217"],["MQS224"],["MQS225"],["MQS300"],["MQS301"],["MQS302"],["MQS303"],["MQS304"],["MQS311"],["MQS5100"],["MQS5101"],["MQS5102"],["MQS5301"],["MRDW001"],["MRDW002"],["MRDW003"],["MRDW004"],["MRDW005"],["MRDW006"],["MRDW007"],["MRDW008"],["MRDW009"],["MRDW010"],["MRDW205"],["MRIS001"],["MRIS002"],["MSCS001"],["MSCS002"],["MSCS003"],["MSCS004"],["MSCS005"],["MSCS006"],["MSCS007"],["MSCS008"],["MSSQL01"],["MSSQL02"],["MVCI001"],["MWA001"],["MWA001S"],["MWA002"],["MWA002S"],["MWS005"],["MYST005"],["MYST010"],["MYST011"],["MYST020"],["MYST030"],["MYST040"],["MYST060"],["MYST061"],["MYST062"],["MYST090"],["MYST110"],["MYST120"],["MYST130"],["MYST999"],["MZIA005"],["NAS001"],["NAS025"],["NAS035"],["NAS045"],["NB001"],["NB102"],["NDM004"],["NDM006"],["NETV005"],["NGS005"],["NGS010"],["NGS050"],["NGS055"],["NGS060"],["NGS100"],["NOVL001"],["NOVL002"],["NOVL003"],["NOVL004"],["NOVL005"],["NOVL006"],["NOVL007"],["NOVL008"],["NOVL009"],["NOVL010"],["NOVL011"],["NOVL012"],["NOVL013"],["NOVL014"],["NTZA001"],["NTZA002"],["NTZA003"],["NTZA004"],["NTZA005"],["NTZA006"],["NTZA007"],["NTZA008"],["NTZA009"],["NTZA010"],["NTZA011"],["NTZA012"],["NTZA013"],["NTZA014"],["NTZA015"],["NTZA016"],["NTZA017"],["NTZA018"],["NTZA019"],["NTZA020"],["NTZA021"],["NTZA022"],["NXUS01"],["NXUS02"],["NXUS03"],["OMA001"],["OMA002"],["OMNI205"],["OND001"],["OND002"],["OND003"],["OND004"],["OND010"],["OND020"],["ORA001"],["ORA002"],["ORA003"],["ORA004"],["ORA005"],["ORA006"],["ORA007"],["ORA008"],["ORA009"],["ORA200"],["ORAC100"],["ORAC101"],["ORAC102"],["ORAC103"],["ORAC105"],["ORAC106"],["ORAC107"],["ORAC109"],["OSAE010"],["OSAE011"],["OYS005"],["OYS010"],["OYS015"],["PD0010"],["PD0020"],["PD0030"],["PD0040"],["PD0060"],["PDWEB005"],["PEAL205"],["PERSW205"],["PFLB205"],["PFLBL205"],["PFLFD001"],["PMS905"],["PMS910"],["PRF001"],["PRF002"],["PSBS062"],["PSNV001"],["PSNV002"],["PSNV003"],["PSOFT001"],["PSOFT002"],["REDALRT01"],["REDALRT02"],["REDALRT03"],["REDALRT04"],["REDALRT05"],["RFAX001"],["RFAX002"],["RFAX003"],["RFAX004"],["RFAX005"],["RFAX006"],["RFAX008"],["RFAX009"],["RFAX010"],["RITZ001"],["RTW005"],["RWEB005"],["SBL002"],["SBL005"],["SBL015"],["SBL020"],["SBL025"],["SBL075"],["SFA000"],["SFA001"],["SFA025"],["SNMP0555"],["SOLR01"],["SWCPU205"],["TEMPLATE"],["TERMSV01"],["TERMSV02"],["TERMSV03"],["TF001"],["TF002"],["TIVL010"],["TIVL018"],["TIVL019"],["TIVL020"],["TIVL021"],["TIVL028"],["TIVL0281"],["TIVL0291"],["TIVL0292"],["TIVL0293"],["TIVL0295"],["TIVL0296"],["TIVL0297"],["TIVL0298"],["TIVL056"],["TIVL092"],["TIVL095"],["TIVL145"],["TIVL151"],["TIVL1523"],["TIVL1524"],["TIVL1525"],["TIVL1526"],["TIVL1527"],["TIVL1528"],["TIVL180"],["TIVL191"],["TIVL192"],["TIVL193"],["TIVL194"],["TIVL195"],["TIVL230"],["TIVL240"],["TIVL250"],["TIVL251"],["TIVL301"],["TIVL302"],["TIVL303"],["TIVL450"],["TIVL999"],["TMACT005"],["TMAW005"],["TMBRS005"],["TMBRS010"],["TMCMS05"],["TMCMS20"],["TMCOG205"],["TMCS005"],["TMCV005"],["TMCWP005"],["TMCZ005"],["TMDA005"],["TMDA007"],["TMDC305"],["TMDC315"],["TMDC325"],["TMDC335"],["TMDC345"],["TMDC355"],["TMDC365"],["TMEB005"],["TMEM005"],["TMENP05"],["TMEP005"],["TMERL005"],["TMES005"],["TMEXP005"],["TMFD005"],["TMGT005"],["TMGT025"],["TMGT035"],["TMGT045"],["TMHR005"],["TMIM001"],["TMIS25"],["TMJT005"],["TMMB005"],["TMMC001"],["TMMC015"],["TMMC025"],["TMMC035"],["TMMC040"],["TMMC045"],["TMMC050"],["TMMG005"],["TMMGS005"],["TMMGS015"],["TMMOS05"],["TMMOS06"],["TMMP005"],["TMMV005"],["TMOA003"],["TMOBL005"],["TMOC005"],["TMOD005"],["TMOD010"],["TMOD015"],["TMOD020"],["TMOD025"],["TMOD030"],["TMOD035"],["TMOD101"],["TMOF205"],["TMOS005"],["TMOS205"],["TMOYS005"],["TMOYS015"],["TMOYS025"],["TMPL005"],["TMPS005"],["TMPS205"],["TMPS305"],["TMPS306"],["TMPS307"],["TMPS308"],["TMPS325"],["TMPS405"],["TMRAP05"],["TMRAP26"],["TMRC005"],["TMRDW005"],["TMRFP25"],["TMRFP26"],["TMRFP35"],["TMRFP36"],["TMRFP45"],["TMROM25"],["TMRZ005"],["TMSBL005"],["TMSDS25"],["TMTPZ005"],["TMWD005"],["TMWD025"],["TMWD035"],["TMWSEA05"],["TOPAZ00"],["TOPZ01"],["TPAZ005"],["TPF005"],["TPF006"],["TPF007"],["TPF008"],["TSM005"],["TWS000"],["TWS004"],["TWS005"],["TWS010"],["TWS011"],["TWS020"],["TWS030"],["TWS061"],["TWS062"],["TWS120"],["TWS130"],["TWS901"],["TWS902"],["UNIX001"],["UNIX003"],["UNIX004"],["UNIX010"],["UNIX020"],["UNIX030"],["UNIX040"],["UNIX041"],["UNIX042"],["UNIX043"],["UNIX044"],["UNIX045"],["UNIX215"],["UNIX225"],["UNIX235"],["UNIX999"],["UNX011"],["UNX012"],["UUNET1"],["UUNET2"],["UUNET3"],["UUNET4"],["UUNET5"],["VIG001"],["VIG002"],["VIG003"],["VIG004"],["VIG005"],["VIG006"],["VIG007"],["VMH001"],["VMZS001"],["VMZS003"],["VMZS004"],["VMZS005"],["VMZS006"],["WAS001"],["WAS002"],["WAS003"],["WAS004"],["WAS005"],["WAS006"],["WAS007"],["WAS008"],["WEBL001"],["WEBL002"],["WEBL003"],["WIN01"],["WIN02"],["WIN03"],["WIN04"],["WIN05"],["WIN06"],["WIN07"],["WIN08"],["WIN09"],["WIN10"],["WINLOG25"],["WINLOG35"],["WINLOG45"],["WINLOG55"],["WINLOG60"],["WINLOG61"],["WINLOG62"],["WINLOG63"],["WMB005"],["WPI001"],["WWWR010"],["XNET001"],["alte005"],["amgr103"]];

        var 
    DLG_t1doc_search = function(){
        var 
    inACT1DocSearchCombo;

        var 
    dialogshowBtn;
        
        return {
            
    init : function(){
                 
    //showBtn = Ext.get('show-dialog-btn');
                 // attach to click event
                 //showBtn.on('click', this.showDialog, this);
            
    },
           
            
    showDialog : function(){
                if (!
    dialog) {            
                    
    dialog = new Ext.Window({
                        
    el:'dlg_t1docSearch',
                        
    animateTarget'north',
                        
    layout:'fit',
                        
    width:300,
                        
    height:170,
                        
    closeAction:'hide',
                        
    plainfalse,
                        
    proxyDragtrue,
                        
    animCollapse true,
                        
    constraintrue,
                        
    resizablefalse,

                        
    buttons: [{
                            
    icon'img/toolbar/silk_icons/icons/accept.png',
                            
    cls:"x-btn-text-icon",
                            
    text:'Submit',
                            
    handler : function () {
                                
    DLG_t1doc_search.submitForm();
                            }
                        },{
                            
    icon'img/toolbar/silk_icons/icons/arrow_rotate_clockwise.png',
                            
    cls:"x-btn-text-icon",
                            
    text:'Reset',
                            
    handler : function () {
                                
    DLG_t1doc_search.resetForm();
                            }
                        },{
                            
    icon'img/toolbar/silk_icons/icons/stop.png',
                            
    cls:"x-btn-text-icon",
                            
    text'Close',
                            
    handler: function(){
                                
    dialog.hide();
                            }
                        }]
                    });            
                    
    this.buildDropDowns();
                    
                }
                
    dialog.show();
                
    this.resetForm();
            },
            
    hideDialog : function () {
                if (
    dialog) {
                    
    dialog.hide();
                }
            },
            
    buildDropDowns : function () {
                
    // simple array store
                
    var inACT1DocSearchStore = new Ext.data.SimpleStore({
                    
    fields: ['text'],
                    
    data inACT1DocSearchComboClasses
                
    });        
                
    inACT1DocSearchCombo = new Ext.form.ComboBox({
                    
    storeinACT1DocSearchStore,
                    
    displayField'text',
                    
    typeAheadfalse,
                    
    mode'local',    
                    
    triggerAction'all',
                    
    emptyText:    'Alarm Code to query',
                    
    selectOnFocus:    false,
                    
    applyTo'inACT1DocSearch'
                
    });

            },
            
    submitForm : function () {
                var 
    text inACT1DocSearchCombo.getValue();
                if (
    text.match("%")) {
                    
    t1docChoose('container');
                }
                else {
                    if (
    text.length ) {
                        
    Ext.MessageBox.alert('Error'"Search Field is blank... ");
                        return 
    false;
                    }
                    
    bodyLayout.addIframe('Doc: ' text't1doc_search.php?DISPLAY_DOC='  text);
                    
    /*
                    bodyLayout.addUpdateTab(
                      'center', 
                      'IF_t1doc_display', 
                      'T1Docs Result',
                      "t1doc_search.php?DISPLAY_DOC="  + text
                    );*/
                    // Hide Dialog
                    
    DLG_t1doc_search.hideDialog();
                }
                return (
    false);
            },
            
    resetForm : function () {
                
    inACT1DocSearchCombo.reset();
            },
            
    getData : function () {
                return (
    inACT1DocSearchCombo.getValue());
            }
        };
    }();

    // using onDocumentReady instead of window.onload initializes the application
    // when the DOM is ready, without waiting for images and other resources to load
    Ext.onReady(DLG_t1doc_search.initDLG_t1doc_searchtrue); 
    HTML Code:
    <div id="dlg_t1docSearch" style="visibility:hidden;position:absolute;top:0px;">
    	<div class="x-window-header">Search Tier 1 Alarm Documents</div>
    	<div class="x-window-body" id="tabs">
    		<center><i>Wildcards (%) are allowed here</i></center><br />
    		<center><input id="inACT1DocSearch" name="" size="40"></input></center>
    	</div>
    </div>

  4. #4
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    I'm retrofitting code to conform to ext2.0a1

  5. #5
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,521
    Vote Rating
    377
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Hmmm,

    I guess this is perfect case for the use of anchors....
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  6. #6
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    A dialog is already a resizable. Nesting resizables is not supported and will require some code modifications. It could get pretty tricky!
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  7. #7
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    I stumbled upon this when trying to retrofit my code for extjs2. If it's not an issue, please close this thread

    Quote Originally Posted by jack.slocum View Post
    A dialog is already a resizable. Nesting resizables is not supported and will require some code modifications. It could get pretty tricky!