view app/store/Sql.js @ 50:2fbd53b944fc

Move proxy definition into the model. Else the building of the URL does not work correct.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 27 May 2013 14:58:31 +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