torsten@472: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz torsten@472: * Software engineering by Intevation GmbH torsten@472: * torsten@472: * This file is Free Software under the GNU GPL (v>=3) torsten@472: * and comes with ABSOLUTELY NO WARRANTY! Check out torsten@472: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@337: /** torsten@337: * Store for Staaten torsten@337: */ torsten@153: Ext.define('Lada.store.Staaten', { torsten@153: extend: 'Ext.data.Store', torsten@260: sorters: [{ rrenkert@422: property: 'staat' torsten@260: }], torsten@153: model: 'Lada.model.Staat', torsten@153: autoLoad: true, torsten@153: proxy: { torsten@153: type: 'ajax', torsten@153: api: { torsten@153: read: 'server/rest/staat' torsten@153: }, torsten@153: reader: { torsten@153: type: 'json', torsten@153: root: 'data' torsten@153: } torsten@153: } torsten@153: });