1. #1
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    84
    Vote Rating
    0
    Webtel is on a distinguished road

      0  

    Exclamation Unanswered: Loader path - base path? Zend problem

    Unanswered: Loader path - base path? Zend problem


    app.appFolder : '/app'

    but other isues are comming
    Last edited by Webtel; 27 Oct 2011 at 6:10 AM. Reason: cant delete it

  2. #2
    Sencha User
    Join Date
    Mar 2011
    Posts
    15
    Vote Rating
    0
    kef4e is on a distinguished road

      0  

    Default


    Hi,

    I am not sure if ExtJS has 'baseURL' but in plain JavaScript you can do this :

    Code:
    baseURL  = window.location.protocol + '\/\/' + window.location.host + '\/';
    This will give you baseURL in your DOM and you can use it whenever you need to specify url:

    Code:
    url : baseURL + '/test/url/param1/1/';
    Hope this helps

  3. #3
    Sencha User lucasguaru's Avatar
    Join Date
    May 2011
    Location
    Guarujá, Brazil
    Posts
    77
    Answers
    9
    Vote Rating
    2
    lucasguaru is on a distinguished road

      1  

    Default


    I have the in this way:
    Code:
    Ext.application({
            name : 'G3',
            appFolder : 'js',
    ...
    The js folder is right under my WebContent folder, which is the first folder for the internet.
    My link for the js on the browser will be:
    http://localhost/G3/js/App.js

    I noticed you set the app folder after. I do it right when I create the application. I don't know if that's a problem but you can try different.
    Regards

Thread Participants: 2

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