annotate app/view/kommentare/CreateForm.js @ 452:b5b129742abf

Removed maxlength of 5
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 12 Dec 2013 10:45:29 +0100
parents 1e4f0c42369c
children debfcc7713e3
rev   line source
342
1e4f0c42369c Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 276
diff changeset
1 /*
1e4f0c42369c Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 276
diff changeset
2 * Formular to create and edit a Kommentar
1e4f0c42369c Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 276
diff changeset
3 */
111
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 Ext.define('Lada.view.kommentare.CreateForm', {
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 extend: 'Lada.view.widgets.LadaForm',
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 model: 'Lada.model.Kommentar',
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 initComponent: function() {
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 this.items = [
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 {
266
f005f43007b5 Fixed issue34. Erzeuger is now a selection field for messstelle.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 208
diff changeset
10 xtype: 'mst',
111
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 name: 'erzeuger',
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 fieldLabel: 'Erzeuger'
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 },
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 {
276
dee3e54a61b1 Use datetimepicker for all datefields
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 266
diff changeset
15 xtype: 'datetime',
111
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16 name: 'kdatum',
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
17 fieldLabel: 'Datum'
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 },
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 {
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
20 xtype: 'textareafield',
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
21 name: 'ktext',
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
22 fieldLabel: 'Text'
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
23 }
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
24 ];
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
25 this.callParent();
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
26 }
6273b73b4b27 Replaced Logic for Kommentare. Use copied code form Orte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
27 });

http://lada.wald.intevation.org