Hi all,

I'm trying to use the new MCV scheme using the new IBM XWork server (ex-Domino) as a backend.

The HTML file that launches my app is hosted within a Domino Database on this address :
http://192.168.1.2/Demo.nsf/index

This triggers authentication for later database access (the database is Demo.nsf)

But the root for my js files & resources is this one :
http://192.168.1.2/myApp/

From this root, every resources follow the proposed MVC scheme :
- app
--- controller
--- model
--- view

So http://192.168.1.2/myApp/app/ is where the app.js file is hosted, and so on...

So, as the start URL of my application will be http://192.168.1.2/Demo.nsf/index
... I'll need to use the setConfig.paths properties to tell the dynamic loader where to find the classes resources.

Here is an example of config :

Code:
Ext.Loader.setConfig({
    enabled: true,
    // I've used various syntaxes here but always with the same result anyway.
    // I even tried stupid things like absolute paths, with slashes or backslaches !
    paths: {'Ext': '.', 'myApp':'../../myApp'}
});


Ext.create('Ext.app.Application', {
 
    name: 'myApp',
    appFolder: 'app',
    //autoCreateViewport: false,
 
    controllers: [
        'ControllerFormField'
    ],


    launch: function() {


        Ext.create('Ext.container.Viewport', {
            layout: 'fit',
            html: 'hello world'
        });
    console.log('End of process');
    }
});
But whatever the paths I mention, Ext is ALWAYS trying to load my controller from the path :
"/Demo.nsf/app/controller/ControllerFormField.js"

Is it a bug, or ?