Mercurial > lada > lada-client
view app/view/messwerte/CreateForm.js @ 429:608a1784a8ac
Load currently "selected" verwaltungseinheit when changing the selection.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 08 Nov 2013 12:46:24 +0100 |
parents | c3c64920b740 |
children | 0ab89a3b9090 |
line wrap: on
line source
/* * Formular to create and edit a Messwert */ Ext.define('Lada.view.messwerte.CreateForm', { extend: 'Lada.view.widgets.LadaForm', model: 'Lada.model.Messwert', requires: [ 'Lada.view.widgets.Messgroesse', 'Lada.view.widgets.Messeinheit' ], initComponent: function() { this.items = [ { xtype: 'numberfield', name: 'messwert', fieldLabel: 'Messwert' }, { xtype: 'numberfield', name: 'messfehler', fieldLabel: 'Messfehler' }, { xtype: 'messgroesse', name: 'messgroesseId', fieldLabel: 'Messgroesse' }, { xtype: 'messeinheit', name: 'mehId', fieldLabel: 'Messeinheit' }, { xtype: 'numberfield', name: 'nwgZuMesswert', fieldLabel: 'Nachweisgrenze' } ]; this.callParent(); } });