view app.js @ 75:4a82e28dfcc4

Translate error codes and store them as attributes of the form
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 05 Jun 2013 18:04:39 +0200
parents 7661f09466cc
children 6c69bbb61c65
line wrap: on
line source
Ext.application({
    name: 'Lada',
    // Setting this variable to true should trigger loading the Viewport.js
    // file which sets ob the viewport. But this does not happen.
    requires: ['Ext.i18n.Bundle'],
    bundle: {
        bundle: 'Lada',
        lang: 'de-DE',
        path: 'resources',
        noCache: true
    },
    autoCreateViewport: true,
    launch: function() {
        // Start the application.
        console.log('Launching the application');
    },
    // Define the controllers of the application. They will be initialized
    // first before the application "launch" function is called.
    controllers: [
        'Proben',
        'Kommentare',
        'Sql'
    ]
});

http://lada.wald.intevation.org