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
    1
    lucasguaru is on a distinguished road

      0  

    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

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