annotate app/view/status/CreateForm.js @ 200:945a727209d3

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

http://lada.wald.intevation.org