Mercurial > lada > lada-client
annotate app/view/widgets/Datenbasis.js @ 41:a1be7ccd4d0c
Added datenbasis combobox
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 24 May 2013 16:37:54 +0200 |
parents | |
children | c05fda928b82 |
rev | line source |
---|---|
41
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 // Combobox for Datenbasis |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 Ext.define('Lada.view.widgets.Datenbasis' ,{ |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 extend: 'Ext.form.ComboBox', |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 alias: 'widget.datenbasis', |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 store: 'Datenbasis', |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 displayField:'datenbasis', |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 valueField: 'datenbasisId', |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 emptyText:'Wählen Sie eine Datenbasis', |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 initComponent: function() { |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 this.callParent(arguments); |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 } |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 }); |
a1be7ccd4d0c
Added datenbasis combobox
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 |