1. #1
    Ext User
    Join Date
    Apr 2010
    Posts
    11
    Vote Rating
    0
    babaqga123 is on a distinguished road

      0  

    Default Ext.Window problem: javascript not executing

    Ext.Window problem: javascript not executing


    Hi, I have the following problem:

    I have a page (index.jsp) which has the following function:

    Code:
     var win = new Ext.Window({
                    title:'My Title'
                    ,width       : 200
                    ,height      : 200
                    ,plain       : true
                    
                    ,autoLoad: {url: 'ping,jsp',
                                     scripts: true}
    
                    
                  
                });
               
              
    
                win.show();
    After this, I have a window shown, but nothing inside, but the plain html (the scripts inside ping.jsp do not execute).
    How do I fix this?

    Here is the code of ping.jsp

    HTML Code:
    <html>
        <head>
          
            <title>Ping</title>
            <script src="javascript/pinginit.js" type="text/javascript">
              
            </script>
        </head>
        <body>
           blalbalbalbalbalbalblablbal
        </body>
    </html>
    NOTE: I haven't included extjs in ping.jsp because it is already included in index.jsp but it doesn't work in any case.

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


    autoload is meant to load fragments, not entire pages.

  3. #3
    Ext User
    Join Date
    Apr 2010
    Posts
    11
    Vote Rating
    0
    babaqga123 is on a distinguished road

      0  

    Default


    Thanks, I did it a bit clumsily, with an iframe, but for now it will do.

Thread Participants: 1

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