comparison app/view/widgets/Messmethode.js @ 178:c53f3110852e

Added Messmethode.js
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 04 Jul 2013 11:24:02 +0200
parents
children 70a1b5962930
comparison
equal deleted inserted replaced
177:311065a9e6df 178:c53f3110852e
1 // Combobox for Messmethode
2 var mmtStore = Ext.create('Ext.data.Store', {
3 fields: ['mmtId', 'messmethhode'],
4 proxy: {
5 type: 'ajax',
6 api: {
7 read: 'server/rest/messmethode'
8 },
9 reader: {
10 type: 'json',
11 root: 'data'
12 }
13 }
14 });
15
16 Ext.define('Lada.view.widgets.Messmethode' ,{
17 extend: 'Ext.form.ComboBox',
18 alias: 'widget.messmethode',
19 store: mmtStore,
20 displayField:'messmethhode',
21 valueField: 'mmtId',
22 emptyText:'Wählen Sie eine Messmethode',
23 initComponent: function() {
24 this.callParent(arguments);
25 }
26 });

http://lada.wald.intevation.org