view app/view/messwerte/CreateForm.js @ 425:2ff236e5d2d0

Added layout to the Viewport (root panel) to fix some layout issues.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 08 Nov 2013 12:31:58 +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();
    }
});

http://lada.wald.intevation.org