view app/model/Query.js @ 257:dbd96a7c31a3

Fixed Issue54. Set fieldtype to numberfield.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 25 Jul 2013 10:32:12 +0200
parents d40a552382a3
children 5e4d926d7717
line wrap: on
line source
Ext.define('Lada.model.Query', {
    extend: 'Ext.data.Model',
    fields: [
        {name: "id"},
        {name: "name"},
        {name: "description"},
        {name: "sql"},
        {name: "results"},
        {name: "filters"},
    ],
    proxy: {
        type: 'rest',
        url: 'server/rest/query',
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org