Mercurial > lada > lada-client
view app/store/Sql.js @ 78:a8619efdf3ae
Removed ID field from create form as providing a value here seems to trigger a
PUT instead of a POST request. The ID will be generated on serverside.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 11 Jun 2013 08:57:44 +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'} ] });