view app/store/Sql.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 e4fcb4ddd782
children
line wrap: on
line source
Ext.define('Lada.store.Sql', {
    extend: 'Ext.data.Store',
    fields: ['id', 'name', 'description', 'sql'],
    data  : [
        {'id': '1', 'name': 'MST, UWB', 'description': 'Beschreibung der MST, UWB Abfrage', 'sql': 'select * from xxx'},
        {'id': '2', 'name': 'Rbegin', 'description': 'Beschreibung der Rbegin Abfrage', 'sql': 'select * from xxx'}
    ]
});

http://lada.wald.intevation.org