view app/store/Betriebsart.js @ 114:189a93e31be9

Worked on Zusatzwerte. No all values are displayed correct in the List and form. But sending data in correct form does not work yet.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 20 Jun 2013 12:34:09 +0200
parents 39f5f1529847
children
line wrap: on
line source
Ext.define('Lada.store.Betriebsart', {
    extend: 'Ext.data.Store',
    fields: ['betriebsartId', 'betriebsart'],
    autoLoad: true,
    // This might be implemented later. Table in database is missing.
    //proxy: {
    //    type: 'ajax',
    //    api: {
    //    read: 'server/rest/probenart'
    //    },
    //    reader: {
    //        type: 'json'
    //    }
    //}
    data: [
        {"betriebsartId":"1", "betriebsart":"Normal-/Routinebtrieb"},
        {"betriebsartId":"2", "betriebsart":"Störfall/Intensivbetrieb"}
    ]
});

http://lada.wald.intevation.org