Mercurial > lada > lada-client
view app/store/Testdatensatz.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 | 792c34b3f5a9 |
children |
line wrap: on
line source
Ext.define('Lada.store.Testdatensatz', { extend: 'Ext.data.Store', fields: ['testdatensatzId', 'testdatensatz'], autoLoad: true, data: [ {"testdatensatzId":true, "testdatensatz":"Ja"}, {"testdatensatzId":false, "testdatensatz":"Nein"} ] });