Mercurial > lada > lada-client
view app/view/messwerte/CreateForm.js @ 362:6a7a9267e00f
Issue56: Changed way how to set the form and window to readonly. Now all dialogs should
habe proper readonly settings. Now the Save and Cancel button are displayed as
needed.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 15 Aug 2013 14:07:35 +0200 |
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(); } });