comparison app/view/form/Messung.js @ 581:424802824648

Added a form for Messungen (unfinished)
author Dustin Demuth <dustin@intevation.de>
date Tue, 10 Mar 2015 17:12:53 +0100
parents
children 4c97717b92da
comparison
equal deleted inserted replaced
580:fe074c2250b4 581:424802824648
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */
8
9 /*
10 * Formular to edit a Messung
11 */
12 Ext.define('Lada.view.form.Messung', {
13 extend: 'Ext.form.Panel',
14 alias: 'widget.messungform',
15 requires: [
16 'Lada.view.widget.Datenbasis',
17 'Lada.view.widget.base.TextField',
18 'Lada.view.widget.base.Datetime',
19 'Lada.view.widget.base.FieldSet',
20 'Lada.model.Messung'
21 ],
22
23 model: 'Lada.model.Messung',
24 minWidth: 650,
25 margin: 5,
26 border: 0,
27
28 recordId: null,
29
30 trackResetOnLoad: true,
31
32 initComponent: function(){
33 this.items = [{
34 xtype: 'fieldset',
35 title: 'Allgemein'
36 }];
37 this.callParent(arguments);
38 },
39
40 setRecord: function(record){
41 this.getForm().loadRecord(record);
42 },
43
44 setMessages: function() {
45 //todo this is a stub
46 },
47
48 clearMessages: function() {
49 //todo this is a stub
50 },
51
52 setReadonlye: function(){
53 //todo this is a stub
54 }
55 });
56

http://lada.wald.intevation.org