view app/store/Datenbasis.js @ 76:eb8a7d3cca89

Use translated message from server in error dialog
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 05 Jun 2013 18:05:00 +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'
        }
    }
});

http://lada.wald.intevation.org