view app.js @ 4:b8e56e880f02

Added a first example view (userlisting) from the EXJS Tutorial. Need to be adapted.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 29 Apr 2013 14:45:16 +0200
parents ac736eea9b30
children 8e79bda4d55b
line wrap: on
line source
Ext.application({
    name: 'Lada',
    autoCreateViewprt: true,
    launch: function() {
        // Start the application.
        console.log('Launching the application');
        Ext.create('Ext.container.Viewport', {
            layout: 'fit',
            items: [
                {
                    xtype: 'probenlist',
                    title: 'Probenauswahlmaske'
                }
            ]
        });
    },
    // Define the controllers of the application. They will be initialized
    // first before the application "launch" function is called.
    controllers: [
        'Proben'
    ]
});

http://lada.wald.intevation.org