Mercurial > lada > lada-client
view app/store/Datenbasis.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 | a1be7ccd4d0c |
children | ab067fdb91b5 |
line wrap: on
line source
Ext.define('Lada.store.Datenbasis', { extend: 'Ext.data.Store', fields: ['datenbasisId', 'beschreibung', 'datenbasis'], proxy: { type: 'ajax', api: { read: 'server/rest/datenbasis' }, reader: { type: 'json' } } });