comparison app/view/status/CreateForm.js @ 199:30ba9a98d627

Added forms to create a Messstatus
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 08 Jul 2013 16:14:58 +0200
parents
children dee3e54a61b1
comparison
equal deleted inserted replaced
198:808c24773713 199:30ba9a98d627
1 Ext.define('Lada.view.status.CreateForm', {
2 extend: 'Lada.view.widgets.LadaForm',
3 requires : [
4 'Lada.view.widgets.Mst',
5 'Lada.view.widgets.Statuswert'
6 ],
7 model: 'Lada.model.Status',
8 initComponent: function() {
9 this.items = [
10 {
11 xtype: 'mst',
12 label: 'Erzeuger',
13 name: 'erzeuger'
14 },
15 {
16 xtype: 'statuswert',
17 label: 'Status',
18 name: 'status'
19 },
20 {
21 xtype: 'datefield',
22 label: 'Datum',
23 name: 'sdatum'
24 },
25 {
26 xtype: 'textarea',
27 label: 'Kommentar',
28 name: 'skommentar'
29 }
30 ];
31 this.callParent();
32 }
33 });
34

http://lada.wald.intevation.org