annotate app/view/widgets/Probenart.js @ 57:982f3130e7f3

Added idProperty to "id" which is the default anyway. Removed api definition and added kId field to the model.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 29 May 2013 15:19:56 +0200
parents f9b6de636ad0
children c05fda928b82
rev   line source
40
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 // Combobox for Umweltbereich
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
2 Ext.define('Lada.view.widgets.Probenart' ,{
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
3 extend: 'Ext.form.ComboBox',
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 alias: 'widget.probenart',
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 store: 'Probenart',
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 queryMode: 'local',
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 displayField:'probenart',
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 valueField: 'probenartId',
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 emptyText:'Wählen Sie eine Probenart',
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
10 initComponent: function() {
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 this.callParent(arguments);
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 }
f9b6de636ad0 Added probenart combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 });

http://lada.wald.intevation.org