Mercurial > lada > lada-client
annotate app/view/widgets/Probenart.js @ 77:c846a2e37289
Set default date in Proben to today.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 11 Jun 2013 08:06:24 +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 }); |