Mercurial > lada > lada-client
annotate app/view/proben/ImportForm.js @ 374:832e3c8f9191
Implemented dynamic ProbelList model. The model will get initialized by the
fields configured in the sql configuration.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 20 Aug 2013 16:50:47 +0200 |
parents | 94884cd8f8c0 |
children | debfcc7713e3 |
rev | line source |
---|---|
357
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 /* |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 * Formular to create a Probe |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 */ |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 Ext.define('Lada.view.proben.ImportForm', { |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 extend: 'Ext.form.Panel', |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 initComponent: function() { |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 this.items = [ |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 { |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 xtype: 'fileuploadfield', |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 title: 'Importdate' |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 } |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 ]; |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 this.callParent(); |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 } |
94884cd8f8c0
Added logic to upload a file to the server.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
15 }); |