Mercurial > lada > lada-client
comparison app/view/proben/Edit.js @ 40:f9b6de636ad0
Added probenart combobox
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 24 May 2013 16:36:26 +0200 |
parents | b1751458594f |
children | a1be7ccd4d0c |
comparison
equal
deleted
inserted
replaced
39:4040d384d6b3 | 40:f9b6de636ad0 |
---|---|
6 width: 600, | 6 width: 600, |
7 height: 600, | 7 height: 600, |
8 autoShow: true, | 8 autoShow: true, |
9 autoScroll: true, | 9 autoScroll: true, |
10 modal: true, | 10 modal: true, |
11 | |
12 requires: [ | |
13 'Lada.view.widgets.Probenart' | |
14 ], | |
11 | 15 |
12 initComponent: function() { | 16 initComponent: function() { |
13 this.items = [ | 17 this.items = [ |
14 { | 18 { |
15 //Define the form | 19 //Define the form |
60 xtype: 'textfield', | 64 xtype: 'textfield', |
61 name: 'test', | 65 name: 'test', |
62 fieldLabel: 'Testdatensatz' | 66 fieldLabel: 'Testdatensatz' |
63 }, | 67 }, |
64 { | 68 { |
65 xtype: 'textfield', | 69 xtype: 'probenart', |
70 id: 'probenart', | |
71 editable: false, | |
66 name: 'probenartId', | 72 name: 'probenartId', |
67 fieldLabel: 'Probenart' | 73 fieldLabel: 'Probenart' |
68 }, | 74 }, |
69 { | 75 { |
70 xtype: 'textfield', | 76 xtype: 'textfield', |