view app/store/Mst.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 3f801444b8d5
children ab067fdb91b5
line wrap: on
line source
Ext.define('Lada.store.Mst', {
    extend: 'Ext.data.Store',
    fields: ['mstId'],
    proxy: {
        type: 'ajax',
        api: {
        read: 'server/rest/mst'
        },
        reader: {
            type: 'json'
        }
    }
});

http://lada.wald.intevation.org