view app/view/Viewport.js @ 18:9e1a40312bbe

Implemented a basic edit dialog. Data will be set to data/proben2.json url which is currently just a dummy file to make to request work. But currently no data is actually saved. The urls need to be replaced with the correct urls in the application backend.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 06 May 2013 16:41:39 +0200
parents cdcaf38eab45
children f964a50bfe57
line wrap: on
line source
Ext.define('Lada.view.Viewport' ,{
    extend: 'Ext.container.Viewport',
    requires: [
        'Lada.view.Sql',
        'Lada.view.Proben'
    ],
    layout: 'fit',
    initComponent: function() {
        console.log('Setting up Viewport');
        this.items = {
            xtype: 'probenlist'
            //items: [{
            //    xtype: 'probenlist'
            //}]
        };
        this.callParent(arguments);
    }
});

http://lada.wald.intevation.org