changeset 547:f172b35a3b92

Removed all files. This is done to have a clean repository for restructuring the client architecture.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 06 Mar 2015 12:35:30 +0100
parents 43951e42590c
children d47ee7439f44
files app.js app/controller/Base.js app/controller/Kommentare.js app/controller/MKommentare.js app/controller/Messungen.js app/controller/Messwert.js app/controller/Orte.js app/controller/Proben.js app/controller/Sql.js app/controller/Status.js app/controller/Zusatzwerte.js app/lib/Helpers.js app/model/Base.js app/model/KommentarM.js app/model/KommentarP.js app/model/Messung.js app/model/Messwert.js app/model/Ort.js app/model/Probe.js app/model/ProbeList.js app/model/Probenzusatzwert.js app/model/Query.js app/model/StaDatenbasis.js app/model/StaMesseinheit.js app/model/StaMessgroesse.js app/model/StaMessmethode.js app/model/StaMessstelle.js app/model/StaNetzbetreiber.js app/model/StaOrt.js app/model/StaPflichtmessgroesse.js app/model/StaProbenart.js app/model/StaProbenzusatz.js app/model/StaStaat.js app/model/StaUmwelt.js app/model/StaVerwaltungseinheit.js app/model/Status.js app/model/Zusatzwert.js app/store/Info.js app/store/KommentareM.js app/store/KommentareP.js app/store/Messungen.js app/store/Messwerte.js app/store/Orte.js app/store/Proben.js app/store/ProbenList.js app/store/Probenzusatzwerte.js app/store/Queries.js app/store/StaDatenbasen.js app/store/StaMesseinheiten.js app/store/StaMessgroessen.js app/store/StaMessmethoden.js app/store/StaMessstellen.js app/store/StaNetzbetreiber.js app/store/StaOrte.js app/store/StaPflichtmessgroessen.js app/store/StaProbenarten.js app/store/StaProbenzusaetze.js app/store/StaStaaten.js app/store/StaUmwelt.js app/store/StaVerwaltungseinheiten.js app/store/Status.js app/store/Zusatzwerte.js app/view/About.js app/view/Viewport.js app/view/kommentare/Create.js app/view/kommentare/CreateForm.js app/view/kommentare/List.js app/view/messungen/Create.js app/view/messungen/CreateForm.js app/view/messungen/Edit.js app/view/messungen/EditForm.js app/view/messungen/List.js app/view/messwerte/Create.js app/view/messwerte/CreateForm.js app/view/messwerte/List.js app/view/mkommentare/Create.js app/view/mkommentare/CreateForm.js app/view/mkommentare/List.js app/view/orte/Create.js app/view/orte/CreateForm.js app/view/orte/CreateOrt.js app/view/orte/List.js app/view/proben/Create.js app/view/proben/CreateForm.js app/view/proben/Edit.js app/view/proben/EditForm.js app/view/proben/Import.js app/view/proben/ImportForm.js app/view/proben/List.js app/view/search/List.js app/view/status/Create.js app/view/status/CreateForm.js app/view/status/List.js app/view/widgets/Betriebsart.js app/view/widgets/Datenbasis.js app/view/widgets/Datetime.js app/view/widgets/LadaForm.js app/view/widgets/Messeinheit.js app/view/widgets/Messgroesse.js app/view/widgets/Messmethode.js app/view/widgets/Mst.js app/view/widgets/Netzbetreiber.js app/view/widgets/Nwg.js app/view/widgets/Ortdetail.js app/view/widgets/Probenart.js app/view/widgets/Probenzusatzwert.js app/view/widgets/Staat.js app/view/widgets/Statuswert.js app/view/widgets/Testdatensatz.js app/view/widgets/TextField.js app/view/widgets/Uwb.js app/view/widgets/Verwaltungseinheit.js app/view/zusatzwerte/Create.js app/view/zusatzwerte/CreateForm.js app/view/zusatzwerte/List.js gfx/dialog-cancel.png gfx/dialog-ok-apply.png gfx/document-open.png gfx/document-save-as-6.png gfx/icon-error.gif gfx/icon-warning.gif gfx/list-add.png gfx/list-remove.png gfx/lock_16x16.png gfx/minus.gif gfx/network-workgroup.png gfx/plus.gif gfx/svn-commit.png gfx/svn-update.png gfx/unlock_16x16.png gfx/user-identity.png gfx/user.png gfx/usergroup.png resources/Lada.properties resources/Lada_de-DE.properties resources/datetime/UX_DateTimeField.js resources/datetime/UX_DateTimeMenu.js resources/datetime/UX_DateTimePicker.js resources/datetime/UX_TimePickerField.js server/rest/authinfo/7581036 server/rest/info server/rest/kommentar_m server/rest/kommentar_p server/rest/messung server/rest/messwert server/rest/ort server/rest/probe/7581036 server/rest/probe/index.html server/rest/query server/rest/sta_datenbasis server/rest/sta_messeinheit server/rest/sta_messgroesse server/rest/sta_messmethode server/rest/sta_messstelle server/rest/sta_netzbetreiber server/rest/sta_ort server/rest/sta_pflichtmessgroesse server/rest/sta_probenart server/rest/sta_probenzusatz server/rest/sta_staat server/rest/sta_umwelt server/rest/sta_verwaltungseinheit/09575143 server/rest/sta_verwaltungseinheit/index.html server/rest/status server/rest/zusatzwert
diffstat 165 files changed, 0 insertions(+), 8647 deletions(-) [+]
line wrap: on
line diff
--- a/app.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,134 +0,0 @@
-/**
- * Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-Ext.Loader.setConfig({
-    enabled: true,
-    paths: {
-        'Ext.ux.form.DateTimeField': 'resources/datetime/UX_DateTimeField.js',
-        'Ext.ux.DateTimeMenu': 'resources/datetime/UX_DateTimeMenu.js',
-        'Ext.ux.DateTimePicker': 'resources/datetime/UX_DateTimePicker.js',
-        'Ext.ux.form.TimePickerField': 'resources/datetime/UX_TimePickerField.js',
-        'Ext.i18n': 'resources/i18n/'
-    }
-});
-
-Ext.application({
-
-    // Name of the application. Do not change as this name is used in
-    // references!
-    name: 'Lada',
-
-    // Setting up translations. This is done using a ext-plgin which can be
-    // found on https://github.com/elmasse/Ext.i18n.Bundle
-    requires: [
-        'Ext.i18n.Bundle',
-        'Lada.lib.Helpers',
-        'Ext.layout.container.Column',
-        'Lada.store.StaDatenbasen',
-        'Lada.store.StaMesseinheiten',
-        'Lada.store.StaMessgroessen',
-        'Lada.store.StaMessmethoden',
-        'Lada.store.StaMessstellen',
-        'Lada.store.StaNetzbetreiber',
-        'Lada.store.StaOrte',
-        'Lada.store.StaPflichtmessgroessen',
-        'Lada.store.StaProbenarten',
-        'Lada.store.StaProbenzusaetze',
-        'Lada.store.StaStaaten',
-        'Lada.store.StaUmwelt',
-        'Lada.store.StaVerwaltungseinheiten'
-    ],
-    bundle: {
-        bundle: 'Lada',
-        lang: 'de-DE',
-        path: 'resources',
-        noCache: true
-    },
-
-    // Setting this variable to true triggers loading the Viewport.js
-    // file which sets ob the viewport.
-    autoCreateViewport: true,
-
-    // Start the application.
-    launch: function() {
-        Ext.create('Lada.store.StaDatenbasen', {
-            storeId: 'staDatenbasen'
-        });
-        Ext.create('Lada.store.StaMesseinheiten', {
-            storeId: 'staMesseinheiten'
-        });
-        Ext.create('Lada.store.StaMessgroessen', {
-            storeId: 'staMessgroessen'
-        });
-        Ext.create('Lada.store.StaMessmethoden', {
-            storeId: 'staMessmethoden'
-        });
-        Ext.create('Lada.store.StaMessstellen', {
-            storeId: 'staMessstellen'
-        });
-        Ext.create('Lada.store.StaNetzbetreiber', {
-            storeId: 'staNetzbetreiber'
-        });
-        Ext.create('Lada.store.StaOrte', {
-            storeId: 'staOrte'
-        });
-        Ext.create('Lada.store.StaPflichtmessgroessen', {
-            storeId: 'staPflichtmessgroessen'
-        });
-        Ext.create('Lada.store.StaProbenarten', {
-            storeId: 'staProbenarten'
-        });
-        Ext.create('Lada.store.StaProbenzusaetze', {
-            storeId: 'staProbenzusaetze'
-        });
-        Ext.create('Lada.store.StaStaaten', {
-            storeId: 'staStaaten'
-        });
-        Ext.create('Lada.store.StaUmwelt', {
-            storeId: 'staUmwelt'
-        });
-        Ext.create('Lada.store.StaVerwaltungseinheiten', {
-            storeId: 'staVerwaltungseinheiten'
-        });
-    },
-
-    // Define the controllers of the application. They will be initialized
-    // first before the application "launch" function is called.
-    controllers: [
-        'Sql',
-        'Proben',
-        'Zusatzwerte',
-        'Kommentare',
-        'MKommentare',
-        'Orte',
-        'Messungen',
-        'Messwert',
-        'Status'
-    ]
-});
-
-Ext.data.writer.Json.override({
-    getRecordData: function(record) {
-        if (this.writeEverything || record.writeEverything) {
-            return record.getAllData();
-        }
-        return this.callOverridden(arguments);
-    }
-});
-
-Ext.data.Model.addMembers({
-    getAllData: function() {
-        var data1 = this.getData();
-        var data2 = this.getAssociatedData();
-        var dataMerged = Ext.Object.merge(data1, data2);
-        return dataMerged;
-    },
-    getEidi: function() {
-        return '/' + this.getId();
-    }
-});
--- a/app/controller/Base.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,130 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Base Controller
- *
- * The controller defines the main logic of the application. It provides
- * various methods which are bound to listeners and called when the defined
- * events in the various UI elements occour (e.g User clicks on a button)
- */
-Ext.define('Lada.controller.Base', {
-    extend: 'Ext.app.Controller',
-    /**
-     * Define required views for this controller
-     */
-    views: [],
-    /**
-     * Define required stores for this controller
-     */
-    stores: [],
-    /**
-     * Define required models for this controller
-     */
-    models: [],
-    init: function() {
-        this.addListeners();
-    },
-    /**
-     * Function to add listeners for various events in UI items. The UI Items
-     * are selected with a CSS like selector.See ComponentQuery documentation
-     * for more details.
-     * The function is called while initializing the controller.
-     *
-     * The function should be overwritten by a specfic implementation.
-     */
-    addListeners: function() {
-        this.control({});
-    },
-    /**
-     * Method to save the kommentar in the database. The method is called when
-     * the user clicks on the "Save" button
-     */
-    saveItem: function(button) {
-        var form = button.up('window').down('form');
-        form.commit();
-    },
-    /**
-     * Method to open a window to enter the values for a new kommentar.
-     * The method is called when the user clicks on the "Add" button in the
-     * grid toolbar.
-     */
-    addItem: function() {
-        return;
-    },
-    /**
-     * Method to open a window to edit the values for an existing kommentar.
-     * The method is called when the user doubleclicks on the item in the
-     * grid.
-     */
-    editItem: function() {
-        return;
-    },
-    /**
-     * Method to delete a kommentar. This will trigger the display of a
-     * Confirmation dialog. After the deletion the related store will be
-     * refreshed.
-     * The method is called when the user selects the item in the grid and
-     * selects the delete button in the grid toolbar.
-     */
-    deleteItem: function(button) {
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection()[0];
-        Ext.MessageBox.confirm('Löschen', 'Sind Sie sicher?', function(btn) {
-            if (btn === 'yes') {
-                var store = grid.getStore();
-                var deleteUrl = selection.getProxy().url + selection.getId();
-                Ext.Ajax.request({
-                    url: deleteUrl,
-                    method: 'DELETE',
-                    success: function() {
-                        store.reload();
-                    }
-                });
-            }
-        });
-    },
-    /**
-     * Method to trigger the action after successfull save (create).
-     * In this case the related store is refreshed and the window is closed.
-     */
-    createSuccess: function() {
-        return;
-    },
-    /**
-     * Method to trigger the action after save (create) fails.
-     * In this case a Message Boss with a general error is shown.
-     */
-    createFailure: function(form) {
-        Ext.MessageBox.show({
-            title: 'Fehler beim Speichern',
-            msg: form.message,
-            icon: Ext.MessageBox.ERROR,
-            buttons: Ext.Msg.OK
-        });
-    },
-    /**
-     * Method to trigger the action after successfull save (edit).
-     * In this case the related store is refreshed and the window is closed.
-     */
-    editSuccess: function() {
-        return;
-    },
-    /**
-     * Method to trigger the action after save ( edit) fails.
-     * In this case a Message Boss with a general error is shown.
-     */
-    editFailure: function(form) {
-        Ext.MessageBox.show({
-            title: 'Fehler beim Speichern',
-            msg: form.message,
-            icon: Ext.MessageBox.ERROR,
-            buttons: Ext.Msg.OK
-        });
-    }
-});
--- a/app/controller/Kommentare.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Controller for Kommentare
- */
-Ext.define('Lada.controller.Kommentare', {
-    extend: 'Lada.controller.Base',
-
-    views: [
-        'kommentare.Create'
-    ],
-
-    stores: [
-        'KommentareP'
-    ],
-
-    models: [
-        'KommentarP'
-    ],
-
-    init: function() {
-        this.callParent();
-    },
-
-    addListeners: function() {
-        this.control({
-            'kommentarelist toolbar button[action=open]': {
-                click: this.editItem
-            },
-            'kommentarelist toolbar button[action=add]': {
-                click: this.addItem
-            },
-            'kommentarelist toolbar button[action=delete]': {
-                click: this.deleteItem
-            },
-            'kommentarecreate button[action=save]': {
-                click: this.saveItem
-            },
-            'kommentarecreate form': {
-                savesuccess: this.createSuccess,
-                savefailure: this.createFailure
-            }
-        });
-    },
-
-    addItem: function(button) {
-        var kommentar = Ext.create('Lada.model.KommentarP');
-        kommentar.set('probeId', button.probeId);
-        Ext.widget('kommentarecreate', {
-            model: kommentar
-        });
-    },
-
-    editItem: function(button) {
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection()[0];
-        var id = selection.getId();
-        var record = selection.store.getById(id);
-
-        record.getAuthInfo(this.initEditWindow);
-    },
-
-    initEditWindow: function(record, readonly) {
-        var view = Ext.widget('kommentarecreate', {
-            model: record
-        });
-        var ignore = [];
-        if (readonly) {
-            var form = view.down('form');
-            form.setReadOnly(true, ignore);
-        }
-    },
-
-    createSuccess: function(form) {
-        var store = this.getKommentarePStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    }
-});
--- a/app/controller/MKommentare.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Controller for Kommentare on Messungen
- */
-Ext.define('Lada.controller.MKommentare', {
-    extend: 'Lada.controller.Base',
-
-    views: [
-        'mkommentare.Create'
-    ],
-
-    stores: [
-        'KommentareM'
-    ],
-
-    models: [
-        'KommentarM'
-    ],
-
-    init: function() {
-        this.callParent(arguments);
-    },
-
-    addListeners: function() {
-        this.control({
-            'mkommentarelist toolbar button[action=open]': {
-                click: this.editItem
-            },
-            'mkommentarelist toolbar button[action=add]': {
-                click: this.addItem
-            },
-            'mkommentarelist toolbar button[action=delete]': {
-                click: this.deleteItem
-            },
-            'mkommentarecreate button[action=save]': {
-                click: this.saveItem
-            },
-            'mkommentarecreate form': {
-                savesuccess: this.createSuccess,
-                savefailure: this.createFailure
-            }
-        });
-    },
-
-    addItem: function(button) {
-        var kommentar = Ext.create('Lada.model.KommentarM');
-        kommentar.set('probeId', button.probeId);
-        kommentar.set('messungsId', button.parentId);
-        Ext.widget('mkommentarecreate', {
-            model: kommentar
-        });
-    },
-
-    editItem: function(button) {
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection()[0];
-        var commentarId = selection.getId();
-        var record = selection.store.getById(commentarId);
-        
-        var mstore = Ext.data.StoreManager.get('Messungen');
-        var messung = mstore.getById(record.get('messungsId'));
-        record.getAuthInfo(this.initEditWindow, messung.get('probeId'));
-    },
-
-    initEditWindow: function(record, readonly) {
-        var view = Ext.widget('mkommentarecreate', {
-            model: record
-        });
-        var ignore = [];
-        if (readonly) {
-            var form = view.down('form');
-            form.setReadOnly(true, ignore);
-        }
-    },
-
-    createSuccess: function(form) {
-        // Reload store
-        var store = this.getKommentareMStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    }
-});
--- a/app/controller/Messungen.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,167 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Controller for Messungen
- */
-Ext.define('Lada.controller.Messungen', {
-    extend: 'Lada.controller.Base',
-
-    views: [
-        'messungen.Create',
-        'messungen.Edit'
-    ],
-
-    stores: [
-        'Proben',
-        'Messungen',
-        'Messwerte',
-        'KommentareM',
-        'Status'
-    ],
-
-    init: function() {
-        this.callParent();
-    },
-
-    addListeners: function() {
-        this.control({
-            'messungenlist toolbar button[action=open]': {
-                click: this.editItem
-            },
-            'messungenlist toolbar button[action=add]': {
-                click: this.addItem
-            },
-            'messungenlist toolbar button[action=delete]': {
-                click: this.deleteItem
-            },
-            'messungencreate button[action=save]': {
-                click: this.saveItem
-            },
-            'messungenedit button[action=save]': {
-                click: this.saveItem
-            },
-            'messungencreate form': {
-                savesuccess: this.createSuccess,
-                savefailure: this.createFailure
-            },
-            'messungenedit form': {
-                savesuccess: this.editSuccess,
-                savefailure: this.editFailure
-            }
-        });
-    },
-
-    saveItem: function(button) {
-        var form = button.up('window').down('form');
-        form.commit();
-    },
-
-    addItem: function(button) {
-        var messung = Ext.create('Lada.model.Messung');
-        messung.set('probeId', button.probeId);
-        Ext.widget('messungencreate', {
-            model: messung
-        });
-    },
-
-    editItem: function(button) {
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection()[0];
-        var messungsId = selection.getId();
-        var record = selection.store.getById(messungsId);
-
-        var kstore = this.getKommentareMStore();
-        kstore.load({
-            params: {
-                probeId: record.get('probeId'),
-                messungsId: record.get('id')
-            }
-        });
-        var sstore = this.getStatusStore();
-        sstore.load({
-            params: {
-                probeId: record.get('probeId'),
-                messungsId: record.get('id')
-            }
-        });
-        var mstore = this.getMesswerteStore();
-        mstore.load({
-            params: {
-                probeId: record.get('probeId'),
-                messungsId: record.get('id')
-            }
-        });
-        record.getAuthInfo(this.initEditWindow);
-    },
-
-    initEditWindow: function(record, readonly, owner) {
-        var view = Ext.widget('messungenedit', {
-            model: record
-        });
-        var ignore = [];
-        if (owner) {
-            ignore.push('fertig');
-        }
-        if (readonly) {
-            var form = view.down('form');
-            form.setReadOnly(true, ignore);
-        }
-    },
-
-    deleteItem: function(button) {
-        // Get selected item in grid
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection()[0];
-        Ext.MessageBox.confirm('Löschen', 'Sind Sie sicher?', function(btn) {
-            if (btn === 'yes') {
-                var store = grid.getStore();
-                var deleteUrl = selection.getProxy().url + selection.getId();
-                Ext.Ajax.request({
-                    url: deleteUrl,
-                    method: 'DELETE',
-                    success: function() {
-                        store.reload();
-                    }
-                });
-            }
-        });
-    },
-
-    createSuccess: function(form) {
-        var store = this.getMessungenStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    },
-
-    createFailure: function(form) {
-        Ext.MessageBox.show({
-            title: 'Fehler beim Speichern',
-            msg: form.message,
-            icon: Ext.MessageBox.ERROR,
-            buttons: Ext.Msg.OK
-        });
-    },
-
-    editSuccess: function(form) {
-        var store = this.getMessungenStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    },
-
-    editFailure: function(form) {
-        Ext.MessageBox.show({
-            title: 'Fehler beim Speichern',
-            msg: form.message,
-            icon: Ext.MessageBox.ERROR,
-            buttons: Ext.Msg.OK
-        });
-    }
-});
--- a/app/controller/Messwert.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,137 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Controller for Messwerte
- */
-Ext.define('Lada.controller.Messwert', {
-    extend: 'Lada.controller.Base',
-
-    views: [
-        'messwerte.Create'
-    ],
-
-    stores: [
-        'Proben',
-        'Messungen',
-        'Messwerte'
-    ],
-
-    init: function() {
-        this.callParent(arguments);
-    },
-
-    addListeners: function() {
-        this.control({
-            'messwertelist toolbar button[action=open]': {
-                click: this.editItem
-            },
-            'messwertelist toolbar button[action=add]': {
-                click: this.addItem
-            },
-            'messwertelist toolbar button[action=delete]': {
-                click: this.deleteItem
-            },
-            'messwertecreate button[action=save]': {
-                click: this.saveItem
-            },
-            'messwertecreate form': {
-                savesuccess: this.createSuccess,
-                savefailure: this.createFailure
-            }
-        });
-    },
-
-    saveItem: function(button) {
-        var form = button.up('window').down('form');
-        form.commit();
-    },
-
-    addItem: function(button) {
-        var messung = Ext.create('Lada.model.Messwert');
-        messung.set('probeId', button.probeId);
-        messung.set('messungsId', button.parentId);
-        Ext.widget('messwertecreate', {
-            model: messung
-        });
-    },
-
-    editItem: function(button) {
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection()[0];
-        var messwertId = selection.getId();
-        var record = selection.store.getById(messwertId);
-        
-        var mstore = Ext.data.StoreManager.get('Messungen');
-        var messung = mstore.getById(record.get('messungsId'));
-        record.getAuthInfo(this.initEditWindow, messung.get('probeId'));
-    },
-
-    initEditWindow: function(record, readonly) {
-        var view = Ext.widget('messwertecreate', {
-            model: record
-        });
-        var ignore = [];
-        if (readonly) {
-            var form = view.down('form');
-            form.setReadOnly(true, ignore);
-        }
-    },
-
-    deleteItem: function(button) {
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection()[0];
-        Ext.MessageBox.confirm('Löschen', 'Sind Sie sicher?', function(btn) {
-            if (btn === 'yes') {
-                var store = grid.getStore();
-                var deleteUrl = selection.getProxy().url + selection.getId();
-                Ext.Ajax.request({
-                    url: deleteUrl,
-                    method: 'DELETE',
-                    success: function() {
-                        store.reload();
-                    }
-                });
-            }
-        });
-    },
-
-    createSuccess: function(form) {
-        // Reload store
-        var store = this.getMesswerteStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    },
-
-    createFailure: function(form) {
-        Ext.MessageBox.show({
-            title: 'Fehler beim Speichern',
-            msg: form.message,
-            icon: Ext.MessageBox.ERROR,
-            buttons: Ext.Msg.OK
-        });
-    },
-
-    editSuccess: function(form) {
-        // Reload store
-        var store = this.getMesswerteStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    },
-
-    editFailure: function(form) {
-        Ext.MessageBox.show({
-            title: 'Fehler beim Speichern',
-            msg: form.message,
-            icon: Ext.MessageBox.ERROR,
-            buttons: Ext.Msg.OK
-        });
-    }
-});
--- a/app/controller/Orte.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,184 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Controller for Orte
- */
-Ext.define('Lada.controller.Orte', {
-    extend: 'Lada.controller.Base',
-
-    views: [
-        'orte.List',
-        'orte.Create',
-        'orte.CreateOrt'
-    ],
-
-    stores: [
-        'Orte'
-    ],
-
-    models: [
-        'Ort'
-    ],
-
-    init: function() {
-        this.callParent(arguments);
-    },
-
-    addListeners: function() {
-        this.control({
-            'ortelist toolbar button[action=open]': {
-                click: this.editItem
-            },
-            'ortelist toolbar button[action=add]': {
-                click: this.addItem
-            },
-            'ortelist toolbar button[action=delete]': {
-                click: this.deleteItem
-            },
-            'ortecreate button[action=save]': {
-                click: this.saveItem
-            },
-            'ortecreate form button[action=newort]': {
-                click: this.createOrt
-            },
-            'createortdetail button[action=save]': {
-                click: this.saveNewOrt
-            },
-            'ortecreate form': {
-                savesuccess: this.createSuccess,
-                savefailure: this.createFailure
-            },
-            'orteedit form': {
-                savesuccess: this.editSuccess,
-                savefailure: this.editFailure
-            }
-        });
-    },
-
-    createOrt: function() {
-        var win = Ext.create('Lada.view.orte.CreateOrt', {});
-        win.show();
-    },
-
-    saveNewOrt: function(button) {
-        var form = button.up('window').down('form').getForm();
-        var ortdetailstore = Ext.getStore('Ortedetails');
-        var ortdetail = Ext.create('Lada.model.Ortdetail');
-        var fields = ['beschreibung', 'hoeheLand',
-                      'latitude', 'longitude', 'staatId', 'gemId'];
-        var i = 0;
-        var ffield;
-        for (i = fields.length - 1; i >= 0; i++) {
-            ffield = form.findField('ort_' + fields[i]);
-            ortdetail.set(fields[i], ffield.getValue());
-        }
-        ortdetailstore.add(ortdetail);
-        ortdetailstore.sync({
-            success: function(batch) {
-                var od = Ext.ComponentQuery.query('ortdetail');
-                var response = batch.operations[0].resultSet.records[0].data;
-                od[0].setValue(response.ortId);
-                button.up('window').close();
-            },
-            failure: function() {
-                ortdetailstore.remove(ortdetail);
-            }
-        });
-    },
-
-    saveItem: function(button) {
-        var form = button.up('window').down('form');
-        var fform = form.getForm();
-
-        var ortdetail = null;
-        var ortdetailstore = Ext.getStore('Ortedetails');
-        var newortdetail = false;
-
-        var ortidfield = fform.findField('ortId');
-        var ortid = ortidfield.getValue();
-        if (ortid === null) {
-            ortdetail = Ext.create('Lada.model.Ortdetail');
-            ortdetailstore.add(ortdetail);
-            newortdetail = true;
-        }
-        else {
-            ortdetail = ortdetailstore.getById(ortid);
-        }
-
-        var fields = ['beschreibung', 'bezeichnung', 'hoeheLand',
-                      'latitude', 'longitude', 'staatId', 'gemId'];
-        var i = 0;
-        var ffield;
-        for (i = fields.length - 1; i >= 0; i--) {
-            ffield = fform.findField('ort_' + fields[i]);
-            ortdetail.set(fields[i], ffield.getValue());
-        }
-        // Create a new Ortedetail if nessecary
-        ortdetailstore.sync({
-            success: function(batch, options) {
-                if (newortdetail) {
-                    // Get ID from new created ortdetail and set it to the ort
-                    var response =
-                        options.operations.create[0]
-                            .store.proxy.reader.jsonData;
-                    form.model.set('ortId', response.ortId);
-                }
-                ortidfield.setValue(ortid);
-            },
-            failure: function() {
-            }
-        });
-        form.commit();
-    },
-
-    addItem: function(button) {
-        var ort = Ext.create('Lada.model.Ort');
-        ort.set('probeId', button.probeId);
-        Ext.widget('ortecreate', {
-            model: ort
-        });
-    },
-
-    editItem: function(button) {
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection()[0];
-        var ortId = selection.getId();
-        var record = selection.store.getById(ortId);
-        
-        record.getAuthInfo(this.initEditWindow);
-    },
-
-    initEditWindow: function(record, readonly) {
-        var view = Ext.widget('ortecreate', {
-            model: record,
-            edit: true
-        });
-        var ignore = [];
-        if (readonly) {
-            var form = view.down('form');
-            form.setReadOnly(true, ignore);
-        }
-    },
-
-    createSuccess: function(form) {
-        // Reload store
-        var store = this.getOrteStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    },
-
-    editSuccess: function(form) {
-        // Reload store
-        var store = this.getOrteStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    }
-});
--- a/app/controller/Proben.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,306 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Controller for Proben
- */
-
-// TODO: Move these functions into the controller.
-function numOfErrors(proben) {
-    var errors = 0;
-    for (var key in proben) {
-        if (proben[key].length > 0) {
-            errors = errors + 1;
-        }
-    }
-    return errors;
-}
-
-// TODO: Use tpl to generate the html document.
-function buildImportReport(filename, msg, errors, warnings) {
-    var out = [];
-    // There is a entry for each imported proben in the errors dict (might be
-    // empty)
-    var numProben = (Object.keys(errors).length > 0);
-    var numErrors = (numOfErrors(errors));
-    var hasWarnings = (Object.keys(warnings).length > 0);
-    if (msg !== 200) {
-            out.push('Der Import der Datei ' +
-                filename +
-                ' war nicht erfolgreich. Der Importvorgang konnte aufgrund' +
-                'eines Fehlers im Server nicht beendet werden.');
-    }
-    else {
-        if (numErrors === numProben) {
-            out.push('Der Import der Datei '
-                + filename + ' war nicht erfolgreich.');
-        }
-        else if (numErrors === 0) {
-            out.push('Der Import der Datei ' + filename + ' war erfolgreich.');
-        }
-        else {
-            out.push('Der Import der Datei '
-                + filename + ' war nicht oder nur teilweise erfolgreich.');
-        }
-        out.push(' Bei dem Import sind folgende Fehler und Warnungen ' +
-                'aufgetreten:');
-        out.push('<br/>');
-        var key;
-        var msgs;
-        if (numErrors) {
-            out.push('<strong>Fehler:</strong>');
-            out.push('<br/>');
-            out.push('<ol>');
-            for (key in errors) {
-                out.push('<li>Probe: ' + key);
-                msgs = errors[key];
-                out.push('<ol>');
-                for (var i = msgs.length - 1; i >= 0; i--) {
-                    out.push('<li>' + msgs[i].key +
-                        ' (' + Lada.getApplication().bundle.getMsg(
-                            msgs[i].code.toString()) +
-                        '): ' + msgs[i].value + '</li>');
-                }
-                out.push('</ol>');
-                out.push('</li>');
-            }
-            out.push('</ol>');
-            out.push('<br/>');
-        }
-        if (hasWarnings) {
-            out.push('<strong>Warnungen:</strong>');
-            out.push('<br/>');
-            out.push('<ol>');
-            for (key in warnings) {
-                out.push('<li>' + key);
-                msgs = warnings[key];
-                out.push('<ol>');
-                for (var i = msgs.length - 1; i >= 0; i--) {
-                    out.push('<li>' + msgs[i].key + ' (' + Lada.getApplication().bundle.getMsg(msgs[i].code.toString())+'): '+msgs[i].value+'</li>')
-                }
-                out.push('</ol>');
-                out.push('</li>');
-            }
-            out.push('</ol>');
-        }
-    }
-    return out.join('');
-}
-
-Ext.define('Lada.controller.Proben', {
-    extend: 'Lada.controller.Base',
-
-    views: [
-        'proben.Edit',
-        'proben.Create',
-        'proben.Import'
-    ],
-
-    stores: [
-        'Proben',
-        'Zusatzwerte',
-        'KommentareP',
-        'Orte',
-        'Messungen'
-    ],
-
-    init: function() {
-        this.callParent(arguments);
-    },
-
-    addListeners: function() {
-        this.control({
-            'probenlist': {
-                itemdblclick: this.editItem
-            },
-            'probenlist toolbar button[action=add]': {
-                click: this.addItem
-            },
-            'probenlist toolbar button[action=import]': {
-                click: this.selectUploadFile
-            },
-            'probenlist toolbar button[action=export]': {
-                click: this.downloadFile
-            },
-            'probencreate button[action=save]': {
-                click: this.saveItem
-            },
-            'probenedit button[action=save]': {
-                click: this.saveItem
-            },
-            'probenimport button[action=save]': {
-                click: this.uploadItem
-            },
-            'probencreate form': {
-                savesuccess: this.createSuccess,
-                savefailure: this.createFailure
-            },
-            'probenedit form': {
-                savesuccess: this.editSuccess,
-                savefailure: this.editFailure
-            }
-        });
-    },
-
-    addItem: function() {
-        Ext.widget('probencreate');
-    },
-
-    /**
-     * Opens a window with a file chooser to select the file to upload
-     * @private
-     */
-    selectUploadFile: function() {
-        Ext.widget('probenimport');
-    },
-
-    /** Uploads the selected file the the server
-     * @private
-     */
-    uploadItem: function(button) {
-        var win = button.up('window');
-        var form = win.down('form');
-        if (form.isValid()) {
-            form.submit({
-                url: 'server/rest/import/laf',
-                waitMsg: 'Importiere...',
-                // TODO: Handle the response correct. o must must contain the
-                // filename (None) <2013-08-13 16:17>
-                success: function(fp, resp) {
-                    var errors = resp.result.data.errors;
-                    var warnings = resp.result.data.warnings;
-                    var filename = resp.result.data.filename;
-                    var message = resp.result.message;
-                    var dialogbody =
-                        buildImportReport(filename, message, errors, warnings);
-                    Ext.Msg.alert('Erfolg', dialogbody);
-                    win.close();
-                },
-                failure: function(fp, resp) {
-                    var errors = resp.result.data.errors;
-                    var warnings = resp.result.data.warnings;
-                    var filename = resp.result.data.filename;
-                    var message = resp.result.message;
-                    var dialogbody =
-                        buildImportReport(filename, message, errors, warnings);
-                    Ext.Msg.alert('Fehler', dialogbody);
-                    win.close();
-                }
-            });
-        }
-    },
-
-    /**
-     * Will download the selected Probe in LAF format in a new window (tab).
-     */
-    downloadFile: function(button) {
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection();
-        var hiddenItems = [];
-        for (var i = 0; i < selection.length; i++) {
-            hiddenItems.push({
-                xtype: 'hiddenfield',
-                name: 'probeId',
-                value: selection[i].get('probeId')
-            });
-        }
-        var hiddenForm = Ext.create('Ext.form.Panel', {
-            title: 'hiddenForm',
-            standardSubmit: true,
-            url: 'server/rest/export/laf',
-            timeout: 120,
-            height: 0,
-            width: 0,
-            hidden: true,
-            items: hiddenItems
-        });
-        hiddenForm.getForm().submit();
-    },
-
-    editItem: function(grid, record) {
-        var id = record.get('id');
-        // Load Zusatzwerte
-        var pstore = Ext.data.StoreManager.get('staProbenzusaetze');
-        pstore.load();
-        var zstore = this.getZusatzwerteStore();
-        zstore.load({
-            params: {
-                probeId: id
-            }
-        });
-        // Load Kommentare
-        var kstore = this.getKommentarePStore();
-        kstore.load({
-            params: {
-                probeId: id
-            }
-        });
-        // Load Orte
-        var ostore = this.getOrteStore();
-        ostore.load({
-            params: {
-                probeId: id
-            }
-        });
-        // Load Orte
-        var mstore = this.getMessungenStore();
-        mstore.load({
-            params: {
-                probeId: id
-            }
-        });
-        var view = Ext.widget('probenedit', {
-            modelId: id
-        });
-        view.show();
-    },
-
-    createSuccess: function(form, record, response) {
-        // Close Createdialog
-        var win = form.up('window');
-        win.close();
-        var store = this.getProbenStore();
-        // Load or reload the probenstore.
-        if (store.getCount() === 0) {
-            store.load({
-                scope: this,
-                callback: function() {
-                    // Open Editdialog
-                    var json = Ext.decode(response.responseText);
-                    if (json) {
-                        var probeId = json.data.probeId;
-                        var probe = store.findRecord('probeId', probeId);
-                        this.editItem(null, probe);
-                    }
-                }
-            });
-        }
-        else {
-            store.reload({
-                scope: this,
-                callback: function() {
-                    // Open Editdialog
-                    var json = Ext.decode(response.responseText);
-                    if (json) {
-                        var probeId = json.data.probeId;
-                        var probe = store.findRecord('probeId', probeId);
-                        this.editItem(null, probe);
-                    }
-                }
-            });
-        }
-    },
-
-    editSuccess: function(form) {
-        // Reload store
-        var store = this.getProbenStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    }
-});
--- a/app/controller/Sql.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,222 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Controller for the Search
- * This controller handles all logic related to the search
- */
-Ext.define('Lada.controller.Sql', {
-    extend: 'Ext.app.Controller',
-
-    requires: [
-        'Lada.view.widgets.Mst',
-        'Lada.view.widgets.Uwb',
-        'Lada.view.widgets.Datetime',
-        'Lada.view.About'
-    ],
-
-    stores: [
-        'Proben',    // List of found Proben
-        'ProbenList',    // List of found Proben
-        'Queries',
-        'Info'
-    ],
-
-    init: function() {
-        this.control({
-            // CSS like selector to select element in the viewport. See
-            // ComponentQuery documentation for more details.
-            '#search': {
-                // Map Doubleclick on rows of the probenlist.
-                select: this.selectSql
-            },
-            '#SearchBtn': {
-                // Map click event on Button.
-                click: this.search
-            },
-            '#ResetBtn': {
-                // Map click event on Button.
-                click: this.reset
-            },
-            '#AboutBtn': {
-                // Map click event on Button.
-                click: this.about
-            }
-        });
-        this.callParent(arguments);
-    },
-
-    /**
-     * Function called when the user selects a SQL query in the dropdownlist.
-     * The function will hide/display additional element related to the
-     * selected search query
-     */
-    selectSql: function(element, record) {
-        var result = Ext.getCmp('result');
-        var filters = Ext.getCmp('queryfilters');
-        var columns = Ext.getCmp('results');
-        var sqldesc = Ext.getCmp('sqldesc');
-        var buttons = Ext.getCmp('SearchBtnPanel');
-        var displayFields = record[0].data.results;
-        var filterFields = record[0].data.filters;
-
-        this.reset();
-
-        columnString = [];
-        for (var i = 0; i < displayFields.length; i++) {
-            columnString.push(displayFields[i].header);
-        }
-        columns.setValue(columnString.join(', '));
-        sqldesc.setValue(record[0].data.description);
-
-        // Setup Columns of the probenlist
-        displayFields.reverse();
-        result.setupColumns(displayFields);
-
-        // Setup Filters of the probenlist
-        //
-        // Allowed types are
-        // * text
-        // * number
-        // * datetime
-        // * bool
-        // * listmst
-        // * listumw
-        // * listver
-        // * listdbasis
-        // * listnetz
-        //
-        // Iterate over all configured filters and add filters dynamically
-        //
-        // 1. Empty filters
-        filters.removeAll();
-        var hide = true;
-        // 2. Iterate over all configured filters
-        var j;
-        for (j = 0; j < filterFields.length; j++) {
-            var type = filterFields[j].type;
-            var name = filterFields[j].dataIndex;
-            var label = filterFields[j].label;
-            var multi = filterFields[j].multiSelect;
-            var field = null;
-            if (type === 'text') {
-                field = Ext.create('Ext.form.field.Text', {
-                    name: name,
-                    fieldLabel: label
-                });
-            }
-            else if (type === 'number') {
-                field = Ext.create('Ext.form.field.Number', {
-                    name: name,
-                    fieldLabel: label
-                });
-            }
-            else if (type === 'datetime') {
-                field = Ext.create('Lada.view.widgets.Datetime', {
-                    name: name,
-                    fieldLabel: label
-                });
-            }
-            else if (type === 'bool') {
-                field = Ext.create('Lada.view.widgets.Testdatensatz', {
-                    name: name,
-                    fieldLabel: label,
-                    emptyText: ''
-                });
-            }
-            else if (type === 'listmst') {
-                field = Ext.create('Lada.view.widgets.Mst', {
-                    name: name,
-                    fieldLabel: label,
-                    multiSelect: multi
-                });
-            }
-            else if (type === 'listumw') {
-                field = Ext.create('Lada.view.widgets.Uwb', {
-                    name: name,
-                    fieldLabel: label,
-                    multiSelect: multi
-                });
-            }
-            else if (type === 'listdbasis') {
-                field = Ext.create('Lada.view.widgets.Datenbasis', {
-                    name: name,
-                    fieldLabel: label,
-                    multiSelect: multi
-                });
-            }
-            else if (type === 'listver') {
-                field = Ext.create('Lada.view.widgets.Verwaltungseinheit', {
-                    name: name,
-                    fieldLabel: label,
-                    multiSelect: multi
-                });
-            }
-            else if (type === 'listnetz') {
-                field = Ext.create('Lada.view.widgets.Netzbetreiber', {
-                    name: name,
-                    fieldLabel: label,
-                    multiSelect: multi
-                });
-            }
-            if (field) {
-                filters.add(field);
-                filters.show();
-                hide = false;
-            }
-        }
-        if (hide) {
-            filters.hide();
-        }
-        buttons.show();
-    },
-
-    /**
-     * Function is called when the user clicks the search button. The function
-     * will perform a search to the server on refreshes the result list.
-     */
-    search: function() {
-        var result = Ext.getCmp('result');
-        var filters = Ext.getCmp('queryfilters');
-        var search = Ext.getCmp('search');
-
-        // Get search parameters:
-        var searchParams = {};
-        searchParams['qid'] = search.getValue();
-        for (var i = filters.items.length - 1; i >= 0; i--) {
-            var filter = filters.items.items[i];
-            var value = filter.getValue();
-            if (value instanceof Array) {
-                value = value.join(',');
-            }
-            searchParams[filter.getName()] = value;
-        }
-        result.getStore().load({
-            params: searchParams
-        });
-        result.show();
-    },
-
-    reset: function() {
-        // var buttons = Ext.getCmp('SearchBtnPanel');
-        // var result = Ext.getCmp('result');
-        // for (var i = 0; i < queries.length; ++i) {
-        //     var toHide = Ext.getCmp(queries[i]);
-        //     toHide.hide();
-        // }
-        // result.hide();
-        // buttons.hide();
-    },
-
-    about: function() {
-        var info = this.getInfoStore();
-        Ext.widget('about', {
-            info: info
-        });
-    }
-});
--- a/app/controller/Status.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,95 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-Ext.define('Lada.controller.Status', {
-    extend: 'Lada.controller.Base',
-
-    views: [
-        'status.Create'
-    ],
-
-    stores: [
-        'Status'
-    ],
-
-    init: function() {
-        this.callParent(arguments);
-    },
-
-    addListeners: function() {
-        this.control({
-            'statuslist toolbar button[action=open]': {
-                click: this.editItem
-            },
-            'statuslist toolbar button[action=add]': {
-                click: this.addItem
-            },
-            'statuslist toolbar button[action=delete]': {
-                click: this.deleteItem
-            },
-            'statuscreate form': {
-                savesuccess: this.createSuccess,
-                savefailure: this.createFailure
-            },
-            'statuscreate button[action=save]': {
-                click: this.saveItem
-            },
-            'statusedit form': {
-                savesuccess: this.editSuccess,
-                savefailure: this.editFailure
-            }
-        });
-    },
-
-    addItem: function(button) {
-        var zusatzwert = Ext.create('Lada.model.Status');
-        zusatzwert.set('probeId', button.probeId);
-        zusatzwert.set('messungsId', button.parentId);
-        Ext.widget('statuscreate', {
-            model: zusatzwert
-        });
-    },
-
-    editItem: function(button) {
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection()[0];
-        var statusId = selection.getId();
-        var record = selection.store.getById(statusId);
-        
-        var mstore = Ext.data.StoreManager.get('Messungen');
-        var messung = mstore.getById(record.get('messungsId'));
-        record.getAuthInfo(this.initEditWindow, messung.get('probeId'));
-    },
-
-    initEditWindow: function(record, readonly) {
-        var view = Ext.widget('statuscreate', {
-            model: record
-        });
-        var ignore = [];
-        if (readonly) {
-            var form = view.down('form');
-            form.setReadOnly(true, ignore);
-        }
-    },
-
-    createSuccess: function(form) {
-        // Reload store
-        var store = this.getStatusStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    },
-
-    editSuccess: function(form) {
-        // Reload store
-        var store = this.getStatusStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    }
-});
--- a/app/controller/Zusatzwerte.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-Ext.define('Lada.controller.Zusatzwerte', {
-    extend: 'Lada.controller.Base',
-    views: [
-        'zusatzwerte.Create'
-    ],
-
-    stores: [
-        'Zusatzwerte'
-    ],
-
-    init: function() {
-        this.callParent(arguments);
-    },
-
-    addListeners: function() {
-        this.control({
-            'zusatzwertelist toolbar button[action=open]': {
-                click: this.editItem
-            },
-            'zusatzwertelist toolbar button[action=add]': {
-                click: this.addItem
-            },
-            'zusatzwertelist toolbar button[action=delete]': {
-                click: this.deleteItem
-            },
-            'zusatzwertecreate form': {
-                savesuccess: this.createSuccess,
-                savefailure: this.createFailure
-            },
-            'zusatzwertecreate button[action=save]': {
-                click: this.saveItem
-            },
-            'zusatzwerteedit form': {
-                savesuccess: this.editSuccess,
-                savefailure: this.editFailure
-            }
-        });
-    },
-
-    saveItem: function(button) {
-        var form = button.up('window').down('form');
-        form.commit();
-    },
-
-    addItem: function(button) {
-        var zusatzwert = Ext.create('Lada.model.Zusatzwert');
-        zusatzwert.set('probeId', button.probeId);
-        Ext.widget('zusatzwertecreate', {
-            model: zusatzwert
-        });
-    },
-
-    editItem: function(button) {
-        var grid = button.up('grid');
-        var selection = grid.getView().getSelectionModel().getSelection()[0];
-        var id = selection.getId();
-        var record = selection.store.getById(id);
-        
-        record.getAuthInfo(this.initEditWindow);
-    },
-
-    initEditWindow: function(record, readonly) {
-        var view = Ext.widget('zusatzwertecreate', {
-            model: record
-        });
-        // Mark PZW Selection readonly.
-        view.down('probenzusatzwert').disabled = true;
-        var ignore = [];
-        if (readonly) {
-            var form = view.down('form');
-            form.setReadOnly(true, ignore);
-        }
-    },
-
-    createSuccess: function(form) {
-        // Reload store
-        var store = this.getZusatzwerteStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    },
-
-    editSuccess: function(form) {
-        // Reload store
-        var store = this.getZusatzwerteStore();
-        store.reload();
-        var win = form.up('window');
-        win.close();
-    }
-});
--- a/app/lib/Helpers.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Helper class
- * This class provides some globally used functions.
-*/
-Ext.define('Lada.lib.Helpers', {
-    statics: {
-        /**
-         * Function to translate a timestamp into a date
-         */
-        ts2date: function(v, record) {
-            // Converts a timestamp into a date object.
-            if (v === null || v === undefined) {
-                return v;
-            }
-            return new Date(v);
-        }
-    }
-})
--- a/app/model/Base.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Base class for models
- */
-Ext.define('Lada.model.Base', {
-    extend: 'Ext.data.Model',
-
-    requires: ['Lada.lib.Helpers'],
-
-    /**
-     * Helper function to make a AJAX request against the authinfo interface
-     * of the server
-     * @param callback function(model, readonly, isowner)
-     * @private
-     */
-    getAuthInfo: function(cb, probeId) {
-        if (!probeId) {
-            probeId = this.data.probeId;
-        }
-        Ext.Ajax.request({
-            scope: this,
-            url: 'server/rest/authinfo/' + probeId,
-            success: function(response, opts) {
-                var obj = Ext.decode(response.responseText).data;
-                cb(this, obj.readonly, obj.isOwner);
-            },
-            failure: function(response, opts) {
-                console.log('server-side failure with status code ' +
-                    response.status);
-                cb(this, true, false);
-            }
-        });
-    }
-});
--- a/app/model/KommentarM.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Kommentare on Messungen
- */
-Ext.define('Lada.model.KommentarM', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "id"
-    }, {
-        name: "messungsId"
-    }, {
-        name: "erzeuger"
-    }, {
-        name: "datum",
-        type: 'date',
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }, {
-        name: "text"
-    }],
-
-    idProperty: "id",
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/kommentar_m',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/KommentarP.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Kommentare
- */
-Ext.define('Lada.model.KommentarP', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "id"
-    }, {
-        name: "probeId"
-    }, {
-        name: "erzeuger"
-    }, {
-        name: "datum",
-        type: 'date',
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }, {
-        name: "text"
-    }],
-
-    idProperty: "id",
-
-    proxy: {
-        type: 'rest',
-        appendId: true, //default
-        url: 'server/rest/kommentar_p',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/Messung.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Messungen
- */
-Ext.define('Lada.model.Messung', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "id"
-    }, {
-        name: "messungsId"
-    }, {
-        name: "probeId"
-    }, {
-        name: "mmtId"
-    }, {
-        name: "nebenprobenNr"
-    }, {
-        name: "messdauer"
-    }, {
-        name: "messzeitpunkt",
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }, {
-        name: "fertig",
-        type: "boolean"
-    }, {
-        name: "letzteAenderung",
-        type:"date"
-    }, {
-        name: "geplant",
-        type: "boolean"
-    }],
-
-    idProperty: "id",
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/messung',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/Messwert.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Messwerte
- */
-Ext.define('Lada.model.Messwert', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "id"
-    }, {
-        name: "messungsId"
-    }, {
-        name: "messgroesseId"
-    }, {
-        name: "messwert",
-        type:"float"
-    }, {
-        name: "messwertNwg"
-    }, {
-        name: "messfehler",
-        type:"float"
-    }, {
-        name: "nwgZuMesswert",
-        type:"float"
-    }, {
-        name: "mehId"
-    }, {
-        name: "grenzwertueberschreitung",
-        type: "boolean"
-    }, {
-        name: "letzteAenderung",
-        type:"date"
-    }],
-
-    idProperty: "id",
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/messwert',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/Ort.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Ort
- */
-Ext.define('Lada.model.Ort', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "id",
-        type: 'int'
-    }, {
-        name: "ortId",
-        type: 'int'
-    }, {
-        name: "probeId"
-    }, {
-        name: "ortsTyp"
-    }, {
-        name: "ortszusatztext"
-    }, {
-        name: "letzteAenderung",
-        type: 'date',
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }],
-
-    idProperty: "id",
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/ort',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/Probe.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * A Probe.
- * This class represents and defines the model of a "Probe"
- **/
-Ext.define('Lada.model.Probe', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "id"
-    }, {
-        name: "probeIdAlt"
-    }, {
-        name: "hauptprobenNr"
-    }, {
-        name: "test"
-    }, {
-        name: "netzbetreiberId"
-    }, {
-        name: "mstId"
-    }, {
-        name: "datenbasisId"
-    }, {
-        name: "baId"
-    }, {
-        name: "probenartId"
-    }, {
-        name: "mediaDesk"
-    }, {
-        name: "media"
-    }, {
-        name: "umwId"
-    }, {
-        name: "probeentnahmeBeginn",
-        type: 'date',
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }, {
-        name: "probeentnahmeEnde",
-        type: 'date',
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }, {
-        name: "mittelungsdauer"
-    }, {
-        name: "letzteAenderung",
-        type: 'date',
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }, {
-        name: "erzeugerId"
-    }, {
-        name: "probeNehmerId"
-    }, {
-        name: "mpKat"
-    }, {
-        name: "mplId"
-    }, {
-        name: "mprId"
-    }, {
-        name: "solldatumBeginn",
-        type: 'date',
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }, {
-        name: "solldatumEnde",
-        type: 'date',
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }, {
-        // Readonly-Flag (sent additionaly by the server, not part of the
-        // model)
-        name: "readonly"
-    }],
-
-    idProperty: "id",
-
-    proxy: {
-        type: 'rest',
-        appendId: true, //default
-        url: 'server/rest/probe',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/ProbeList.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * A ProbeList.
- * This class represents the result list of "Proben" in the search query
- * */
-Ext.define('Lada.model.ProbeList', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "readonly"
-    }],
-
-    idProperty: "id",
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/probe',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/Probenzusatzwert.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Probenzusatzwert
- */
-Ext.define('Lada.model.Probenzusatzwert', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "id"
-    }, {
-        name: "mehId"
-    }, {
-        name: "beschreibung"
-    }, {
-        name: "zusatzwert"
-    }, {
-        name: "eudfKeyword"
-    }],
-
-    idProperty: "id",
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_probenzusatz',
-        autoload: true,
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/Query.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for SQL-Querys
- */
-Ext.define('Lada.model.Query', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "id"
-    }, {
-        name: "name"
-    }, {
-        name: "description"
-    }, {
-        name: "sql"
-    }, {
-        name: "results"
-    }, {
-        name: "filters"
-    }],
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/query',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/StaDatenbasis.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model for Datenbasis Stammdaten.
- */
-Ext.define('Lada.model.StaDatenbasis', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifier (Primary key).
-     *  - beschreibung: The long description.
-     *  - datenbasis: 
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'beschreibung'
-    }, {
-        name: 'datenabsis'
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_datenbasis',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
-
--- a/app/model/StaMesseinheit.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model for Messeinheit Stammdaten.
- */
-Ext.define('Lada.model.StaMesseinheit', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifier (Primary key).
-     *  - beschreibung: The long description.
-     *  - einheit: The unit.
-     *  - eudfMesseinheitId: 
-     *  - umrechnungsFaktorEudf: 
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'beschreibung'
-    }, {
-        name: 'einheit'
-    }, {
-        name: 'eudfMesseinheitId'
-    }, {
-        name: 'umrechnungsFaktorEudf'
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_messeinheit',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
-
--- a/app/model/StaMessgroesse.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model for Messgroesse Stammdaten.
- */
-Ext.define('Lada.model.StaMessgroesse', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifier (Primary key).
-     *  - beschreibung: The long description.
-     *  - defaultFarbe:
-     *  - idfNuklidKey:
-     *  - istLeitNuklid:
-     *  - eudfNuklidId:
-     *  - kennungBvl:
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'beschreibung'
-    }, {
-        name: 'messgroesse'
-    }, {
-        name: 'defaultFarbe'
-    }, {
-        name: 'idfNuklidKey'
-    }, {
-        name: 'istLeitNuklid'
-    }, {
-        name: 'eudfNuklidId'
-    }, {
-        name: 'kennungBvl'
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_messgroesse',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
-
--- a/app/model/StaMessmethode.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model for Messmethode Stammdaten.
- */
-Ext.define('Lada.model.StaMessmethode', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifier (Primary key).
-     *  - beschreibung: The long description.
-     *  - messmethode: 
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'beschreibung'
-    }, {
-        name: 'messmethode'
-    }, {
-        name: 'display',
-        persist: false,
-        convert: function(value, record) {
-            return record.get('id') + ' - ' + record.get('messmethode');
-        }
-
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_messmethode',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
-
--- a/app/model/StaMessstelle.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model for Messstelle Stammdaten.
- */
-Ext.define('Lada.model.StaMessstelle', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifier (Primary key).
-     *  - beschreibung: The long description.
-     *  - netzbetreiberId:
-     *  - messStelle:
-     *  - mstTyp:
-     *  - amtskennung:
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'beschreibung'
-    }, {
-        name: 'netzbetreiberId'
-    }, {
-        name: 'messStelle'
-    }, {
-        name: 'mstTyp'
-    }, {
-        name: 'amtskennung'
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_messstelle',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
-
--- a/app/model/StaNetzbetreiber.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model for Netzbetreiber Stammdaten.
- */
-Ext.define('Lada.model.StaNetzbetreiber', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifier (Primary key).
-     *  - netzbetreiber:
-     *  - idfNetzbetreiber:
-     *  - isBmn:
-     *  - mailverteiler:
-     *  - aktiv:
-     *  - zustMstId:
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'netzbetreiber'
-    }, {
-        name: 'idfNetzbetreiber'
-    }, {
-        name: 'isBmn'
-    }, {
-        name: 'mailverteiler'
-    }, {
-        name: 'aktiv'
-    }, {
-        name: 'zustMstId'
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_netzbetreiber',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
-
--- a/app/model/StaOrt.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Ort Stammdaten
- */
-Ext.define('Lada.model.StaOrt', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "id"
-    }, {
-        name: "bezeichnung"
-    }, {
-        name: "beschreibung"
-    }, {
-        name: "unscharf"
-    }, {
-        name: "nutsCode"
-    }, {
-        name: "koordXExtern"
-    }, {
-        name: "koordYExtern"
-    }, {
-        name: "hoeheLand"
-    }, {
-        name: "letzteAenderung",
-        type: 'date',
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }, {
-        name: "longitude",
-        type: 'float'
-    }, {
-        name: "latitude",
-        type: 'float'
-    }, {
-        name: "staatId"
-    }, {
-        name: "gemId"
-    }, {
-        name: "otyp"
-    }],
-
-    idProperty: "id",
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_ort',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
-
--- a/app/model/StaPflichtmessgroesse.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Pflichtmessgroesse Stammdaten.
- */
-Ext.define('Lada.model.StaPflichtmessgroesse', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifer (Primary key)
-     *  - messgroesseId:
-     *  - mmtId:
-     *  - umwId:
-     *  - datenbasisId:
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'messgroesseId'
-    }, {
-        name: 'mmtId'
-    }, {
-        name: 'umwId'
-    }, {
-        name: 'datenbasisId'
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_pflichtmessgroesse',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/StaProbenart.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Probenart Stammdaten.
- */
-Ext.define('Lada.model.StaProbenart', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifer (Primary key)
-     *  - beschreibung: The long description.
-     *  - probenart:
-     *  - probenartEudfId:
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'beschreibung'
-    }, {
-        name: 'probenart'
-    }, {
-        name: 'probenartEudfId'
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_probenart',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/StaProbenzusatz.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Probenzusatz Stammdaten.
- */
-Ext.define('Lada.model.StaProbenzusatz', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifer (Primary key)
-     *  - beschreibung: The long description.
-     *  - mehId:
-     *  - zusatzwert:
-     *  - eudfKeyword:
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'beschreibung'
-    }, {
-        name: 'mehId',
-        type: 'int'
-    }, {
-        name: 'zusatzwert'
-    }, {
-        name: 'eudfKeyword'
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_probenzusatz',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/StaStaat.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Staat Stammdaten
- */
-Ext.define('Lada.model.StaStaat', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: "id",
-        type: 'int'
-    }, {
-        name: "staat"
-    }, {
-        name: "staatIso"
-    }, {
-        name: "staatKurz"
-    }],
-
-    idProperty: "id",
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_staat',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/StaUmwelt.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Umweltbereich Stammdaten.
- */
-Ext.define('Lada.model.StaUmwelt', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifer (Primary key)
-     *  - beschreibung: The long description.
-     *  - umweltBereich:
-     *  - mehId:
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'beschreibung'
-    }, {
-        name: 'mehId'
-    }, {
-        name: 'umweltBereich'
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_umwelt',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/StaVerwaltungseinheit.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Verwaltungseinheit Stammdaten.
- */
-Ext.define('Lada.model.StaVerwaltungseinheit', {
-    extend: 'Ext.data.Model',
-
-    /**
-     * Fields are:
-     *  - id: The unique identifer (Primary key)
-     *  - beschreibung: The long description.
-     *  - umweltBereich:
-     *  - mehId:
-     */
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'bundeland'
-    }, {
-        name: 'kdaId'
-    }, {
-        name: 'kreis'
-    }, {
-        name: 'nuts'
-    }, {
-        name: 'regbezirk'
-    }, {
-        name: 'bezeichnung'
-    }, {
-        name: 'isBundeland'
-    }, {
-        name: 'isGemeinde'
-    }, {
-        name: 'isLandkreis'
-    }, {
-        name: 'isRegbezirk'
-    }, {
-        name: 'koordXExtern'
-    }, {
-        name: 'koordYExtern'
-    }, {
-        name: 'plz'
-    }, {
-        name: 'longitude'
-    }, {
-        name: 'latitude'
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_verwaltungseinheit',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/Status.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Model class for Status
- */
-Ext.define('Lada.model.Status', {
-    extend: 'Lada.model.Base',
-    fields: [
-        {name: "id"},
-        {name: "messungsId"},
-        {name: "probeId"},
-        {name: "erzeuger"},
-        {name: "status", defaultValue: 1},
-        {name: "datum", type: 'date', convert: Lada.lib.Helpers.ts2date, defaultValue: new Date()},
-        {name: "kommentar"}
-    ],
-    idProperty: "id",
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/status',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/model/Zusatzwert.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Model class for Zusatzwerte
- */
-Ext.define('Lada.model.Zusatzwert', {
-    extend: 'Lada.model.Base',
-
-    fields: [{
-        name: 'id'
-    }, {
-        name: 'probeId'
-    }, {
-        name: 'pzsId'
-    }, {
-        name: 'nwgZuMesswert',
-        type: 'float'
-    }, {
-        name: 'messwertPzs',
-        type: 'float'
-    }, {
-        name: 'messfehler',
-        type: 'float'
-    }, {
-        name: 'letzteAenderung',
-        type: 'date',
-        convert: Lada.lib.Helpers.ts2date,
-        defaultValue: new Date()
-    }],
-
-    idProperty: 'id',
-
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/zusatzwert',
-        reader: {
-            type: 'json',
-            root: 'data'
-        },
-        writer: {
-            type: 'json',
-            // TODO: Check if this function is really needed (torsten)
-            // <2013-09-18 15:58>
-            writeEverything: true
-        }
-    },
-
-    getMesseinheit: function(pzsId) {
-        var zstore = Ext.data.StoreManager.get('staProbenzusaetze');
-        var mstore = Ext.data.StoreManager.get('staMesseinheiten');
-        var mehId = zstore.getById(pzsId).get('mehId');
-        var record = mstore.getById(mehId);
-        return record.get('einheit');
-    }
-});
--- a/app/store/Info.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Info
- */
-Ext.define('Lada.store.Info', {
-    extend: 'Ext.data.Store',
-
-    fields: [
-        'user',
-        'groups',
-        'version'
-    ],
-
-    proxy: {
-         type: 'rest',
-         url: 'server/rest/info',
-         reader: {
-             type: 'json',
-             root: 'data'
-         }
-     }
-});
-
--- a/app/store/KommentareM.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Kommentare
- */
-Ext.define('Lada.store.KommentareM', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.KommentarM'
-});
-
--- a/app/store/KommentareP.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Kommentare
- */
-Ext.define('Lada.store.KommentareP', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.KommentarP'
-});
-
--- a/app/store/Messungen.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Messungen
- */
-Ext.define('Lada.store.Messungen', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.Messung'
-});
-
--- a/app/store/Messwerte.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Messwerte
- */
-Ext.define('Lada.store.Messwerte', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.Messwert'
-});
-
--- a/app/store/Orte.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Orte
- */
-Ext.define('Lada.store.Orte', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.Ort'
-});
--- a/app/store/Proben.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Proben
- */
-Ext.define('Lada.store.Proben', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.Probe'
-});
--- a/app/store/ProbenList.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Proben
- */
-Ext.define('Lada.store.ProbenList', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.ProbeList'
-});
--- a/app/store/Probenzusatzwerte.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Probenzusatzwerte
- */
-Ext.define('Lada.store.Probenzusatzwerte', {
-    extend: 'Ext.data.Store',
-    sorters: [{
-        property: 'beschreibung'
-    }],
-    autoLoad: true,
-    model: 'Lada.model.Probenzusatzwert'
-});
--- a/app/store/Queries.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Queries
- */
-Ext.define('Lada.store.Queries', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.Query',
-    autoLoad: true
-});
--- a/app/store/StaDatenbasen.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Datenbasis
- */
-Ext.define('Lada.store.StaDatenbasen', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaDatenbasis',
-    sorters: [{
-        property: 'datenbasis',
-        transform: function(val) {
-            if (val) {
-                return val.toLowerCase();
-            } else {
-                return "";
-            };
-        }
-    }],
-    autoLoad: true
-});
--- a/app/store/StaMesseinheiten.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Messeinheit
- */
-Ext.define('Lada.store.StaMesseinheiten', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaMesseinheit',
-    sorters: [{
-        property: 'einheit',
-        transform: function(val) {
-            if (val) {
-                return val.toLowerCase();
-            } else {
-                return "";
-            };
-        }
-    }],
-    autoLoad: true
-});
--- a/app/store/StaMessgroessen.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Messgroessen
- */
-Ext.define('Lada.store.StaMessgroessen', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaMessgroesse',
-    sorters: [{
-        property: 'messgroesse',
-        transform: function(val) {
-            if (val) {
-                return val.toLowerCase();
-            } else {
-                return "";
-            };
-        }
-    }],
-    autoLoad: true
-});
--- a/app/store/StaMessmethoden.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Messmethoden
- */
-Ext.define('Lada.store.StaMessmethoden', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaMessmethode',
-    sorters: [{
-        property: 'messmethode',
-        transform: function(val) {
-            if (val) {
-                return val.toLowerCase();
-            } else {
-                return "";
-            };
-        }
-    }],
-    autoLoad: true
-});
--- a/app/store/StaMessstellen.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Messstellen
- */
-Ext.define('Lada.store.StaMessstellen', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaMessstelle',
-    sorters: [{
-        property: 'messStelle',
-        transform: function(val) {
-            if (val) {
-                return val.toLowerCase();
-            } else {
-                return "";
-            };
-        }
-    }],
-    autoLoad: true
-});
--- a/app/store/StaNetzbetreiber.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Netzbetreiber
- */
-Ext.define('Lada.store.StaNetzbetreiber', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaNetzbetreiber',
-    sorters: [{
-        property: 'netzbetreiber',
-        transform: function(val) {
-            if (val) {
-                return val.toLowerCase();
-            } else {
-                return "";
-            };
-        }
-    }],
-    autoLoad: true
-});
--- a/app/store/StaOrte.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Ortedetails
- */
-Ext.define('Lada.store.StaOrte', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaOrt',
-    sorters: [{
-        property: 'bezeichnung'
-    }],
-    autoLoad: true
-});
--- a/app/store/StaPflichtmessgroessen.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Pflichtmessgroessen
- */
-Ext.define('Lada.store.StaPflichtmessgroessen', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaPflichtmessgroesse',
-    autoLoad: true
-});
--- a/app/store/StaProbenarten.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Probenarten
- */
-Ext.define('Lada.store.StaProbenarten', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaProbenart',
-    sorters: [{
-        property: 'probenart',
-        transform: function(val) {
-            if (val) {
-                return val.toLowerCase();
-            } else {
-                return "";
-            };
-        }
-    }],
-    autoLoad: true
-});
--- a/app/store/StaProbenzusaetze.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Probenzusaetze
- */
-Ext.define('Lada.store.StaProbenzusaetze', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaProbenzusatz',
-    sorters: [{
-        property: 'zusatzwert',
-        transform: function(val) {
-            if (val) {
-                return val.toLowerCase();
-            } else {
-                return "";
-            };
-        }
-    }],
-    autoLoad: true
-});
--- a/app/store/StaStaaten.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Staaten
- */
-Ext.define('Lada.store.StaStaaten', {
-    extend: 'Ext.data.Store',
-    sorters: [{
-        property: 'staat'
-    }],
-    model: 'Lada.model.StaStaat',
-    autoLoad: true
-});
--- a/app/store/StaUmwelt.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Umweltbereiche
- */
-Ext.define('Lada.store.StaUmwelt', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaUmwelt',
-    sorters: [{
-        property: 'umweltBereich',
-        transform: function(val) {
-            if (val) {
-                return val.toLowerCase();
-            } else {
-                return "";
-            };
-        }
-    }],
-    autoLoad: true
-});
--- a/app/store/StaVerwaltungseinheiten.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Verwaltungseinheiten
- */
-Ext.define('Lada.store.StaVerwaltungseinheiten', {
-    extend: 'Ext.data.Store',
-    model: 'Lada.model.StaVerwaltungseinheit',
-    sorters: [{
-        property: 'bezeichnung'
-    }],
-    autoLoad: true,
-    proxy: {
-        type: 'rest',
-        url: 'server/rest/sta_verwaltungseinheit',
-        reader: {
-            type: 'json',
-            root: 'data'
-        }
-    }
-});
--- a/app/store/Status.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Status
- */
-Ext.define('Lada.store.Status', {
-    extend: 'Ext.data.Store',
-    autoLoad: true,
-    model: 'Lada.model.Status'
-});
--- a/app/store/Zusatzwerte.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/**
- * Store for Zusatzwerte
- */
-Ext.define('Lada.store.Zusatzwerte', {
-    extend: 'Ext.data.Store',
-    autoLoad: true,
-    model: 'Lada.model.Zusatzwert'
-});
-
--- a/app/view/About.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to edit a Probe
- */
-Ext.define('Lada.view.About', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.about',
-
-    title: 'Lada Information',
-    // Make size of the dialog dependend of the available space.
-    // TODO: Handle resizing the browser window.
-    width: 200,
-    height: 200,
-    autoShow: true,
-    autoScroll: true,
-    modal: true,
-    layout: 'fit',
-
-    initComponent: function() {
-        var sver = '1.0';
-        var cver = '1.0';
-        this.buttons = [{
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        this.items = [{
-            html: '<h1>Lada</h1>Server version: ' +
-                sver + '<br>Client version: ' + cver
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/Viewport.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,228 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Viewport for the Lada-Client
- *
- * The viewport initialises the graphical elements of the application. For
- * debugging it is possible to initialize other components directly see the
- * initComponent function.
- */
-Ext.define('Lada.view.Viewport', {
-    extend: 'Ext.container.Viewport',
-    requires: [
-        'Lada.store.Info',
-        'Lada.view.search.List',
-        'Lada.view.proben.List'
-    ],
-    layout: 'fit',
-    initComponent: function() {
-        this.initSearch();
-
-        // Development related:
-        // Disable "initSearch" call and enable one of the following init
-        // methods to get a dialog directly without the need to click through
-        // the whole application.
-        // this.initProbe();
-        // this.initOrt();
-        // this.initMessung();
-        // this.initMesswert();
-
-        this.setInfo();
-        this.callParent(arguments);
-    },
-    /**
-     * Set some information about user, client and server version in the top
-     * of the application window. The data will be fetched from the server.
-     */
-    setInfo: function() {
-        var store = Ext.create('Lada.store.Info');
-        store.load({
-            callback: function() {
-                var info = store.data.items[0];
-                var user = info.get('user');
-                var groups = info.get('groups');
-                var groupinfo = Ext.getCmp('groupinfo');
-                var userinfo = Ext.getCmp('userinfo');
-                userinfo.update(user);
-                groupinfo.update(groups);
-            }
-        });
-    },
-    /**
-     * Function to initialize the edit window for a particular probe directly
-     * @private
-     */
-    initProbe: function() {
-        var store = Ext.getStore('Proben');
-        store.load({
-            params: {
-                probeId: '000007575943X'
-            },
-            callback: function() {
-                var mstore = Ext.getStore('Messungen');
-                mstore.load({
-                    params: {
-                        probeId: '000007575943X'
-                    }
-                });
-                var model = store.data.items[0];
-                Ext.create('Lada.view.proben.Edit', {
-                    model: model
-                });
-            }
-        });
-    },
-    /**
-     * Function to initialize the edit window for a priticular messwert directly
-     * @private
-     */
-    initMesswert: function() {
-        var store = Ext.getStore('Messwerte');
-        store.load({
-            params: {
-                probeId: '000007575853X',
-                messungsId: '1'
-            },
-            callback: function() {
-                var model = store.data.items[0];
-                Ext.create('Lada.view.messwerte.Create', {
-                    model: model
-                });
-            }
-        });
-    },
-    /**
-     * Function to initialize the edit window for a priticular ort directly
-     * @private
-     */
-    initOrt: function() {
-        var ort = Ext.create('Lada.model.Ort');
-        Ext.create('Lada.view.orte.Create', {
-            model: ort
-        });
-    },
-    /**
-     * Function to initialize the edit window for a priticular ort directly
-     * @private
-     */
-    initMessung: function() {
-        var store = Ext.getStore('Messungen');
-        var kstore = Ext.getStore('KommentareM');
-        var mstore = Ext.getStore('Messwerte');
-        var sstore = Ext.getStore('Status');
-        var probeId = '000007578314X';
-        store.load({
-            params: {
-                probeId: probeId
-            },
-            callback: function() {
-                var messung = store.data.items[0];
-                kstore.load({
-                    params: {
-                        probeId: probeId,
-                        messungsId: messung.get('id').messungsId
-                    }
-                });
-                sstore.load({
-                    params: {
-                        probeId: probeId,
-                        messungsId: messung.get('id').messungsId
-                    }
-                });
-                mstore.load({
-                    params: {
-                        probeId: probeId,
-                        messungsId: messung.get('id').messungsId
-                    }
-                });
-                // var messung = Ext.create('Lada.model.Messung');
-                Ext.create('Lada.view.messungen.Create', {
-                    model: messung
-                });
-            }
-        });
-    },
-    /**
-     * Function to initialize the search window. This is the default method
-     * called by the {@link Lada.view.Viewport#initComponent initComponent}
-     * method.
-     * @private
-     */
-    initSearch: function() {
-        this.items = [{
-            title: '<center>Probenauswahlmaske</center>',
-            layout: 'border',
-            items: [{
-                layout: {
-                    type: 'vbox',
-                    align: 'stretch'
-                },
-                region: 'west',
-                split: true,
-                border: 1,
-                flex: 1,
-                dockedItems: [{
-                    xtype: 'toolbar',
-                    dock: 'top',
-                    items: [{
-                        xtype: 'splitbutton',
-                        text: 'Info',
-                        menu: {
-                            items: [{
-                                id: 'AboutBtn',
-                                text: 'About'
-                            }]
-                        }
-                    }, '->', {
-                        xtype: 'box',
-                        autoEl: {
-                            tag: 'img',
-                            src: 'gfx/user-identity.png'
-                        }
-                    }, {
-                        xtype: 'tbtext',
-                        id: 'userinfo',
-                        text: ''
-                    }, {
-                        xtype: 'box',
-                        autoEl: {
-                            tag: 'img',
-                            src: 'gfx/network-workgroup.png'
-                        }
-                    }, {
-                        xtype: 'tbtext',
-                        id: 'groupinfo',
-                        text: ''
-                    }]
-                }],
-                items: [{
-                    // Auswahl einer Abfrage.
-                    xtype: 'queryselector',
-                    margin: '0, 10, 0, 10',
-                    id: 'queryselector'
-                }, {
-                // Variables settings for the current selected sql statement.
-                    xtype: 'fieldset',
-                    id: 'queryfilters',
-                    title: 'Variablenbelegung',
-                    hidden: true,
-                    margin: '0, 10, 0, 10',
-                    items: []
-                }]
-            }, {
-            // Resultlist for the query.
-                id: 'result',
-                flex: 3,
-                xtype: 'probenlist',
-                hidden: false,
-                region: 'center'
-            }]
-        }];
-    }
-});
--- a/app/view/kommentare/Create.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to create and edit a Kommentar
- */
-Ext.define('Lada.view.kommentare.Create', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.kommentarecreate',
-    requires: [
-        'Lada.view.kommentare.CreateForm'
-    ],
-
-    title: 'Maske für Kommentare',
-    // Make size of the dialog dependend of the available space.
-    // TODO: Handle resizing the browser window.
-    autoShow: true,
-    autoScroll: true,
-    modal: true,
-
-    initComponent: function() {
-        var form = Ext.create('Lada.view.kommentare.CreateForm',
-            this.initialConfig);
-        this.buttons = [{
-            text: 'Speichern',
-            scope: form,
-            action: 'save'
-        }, {
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        this.items = [form];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/kommentare/CreateForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to create and edit a Kommentar
- */
-Ext.define('Lada.view.kommentare.CreateForm', {
-    extend: 'Lada.view.widgets.LadaForm',
-    requires: [
-        'Lada.view.widgets.Mst',
-        'Lada.view.widgets.Datetime',
-        'Ext.form.field.TextArea'
-    ],
-
-    model: 'Lada.model.Kommentar',
-
-    initComponent: function() {
-        this.items = [{
-            xtype: 'mst',
-            name: 'erzeuger',
-            fieldLabel: 'Erzeuger'
-        }, {
-            xtype: 'datetime',
-            name: 'datum',
-            fieldLabel: 'Datum'
-        }, {
-            xtype: 'textareafield',
-            name: 'text',
-            fieldLabel: 'Text'
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/kommentare/List.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Grid to list Kommentare
- */
-Ext.define('Lada.view.kommentare.List', {
-    extend: 'Ext.grid.Panel',
-    alias: 'widget.kommentarelist',
-
-    requires: [
-        'Ext.toolbar.Toolbar'
-    ],
-
-    store: 'KommentareP',
-    viewConfig: {
-        maxHeight: 350,
-        emptyText: 'Keine Kommentaregefunden.',
-        // minHeight and deferEmptyText are needed to be able to show the
-        // emptyText message.
-        minHeight: 65,
-        deferEmptyText: false
-    },
-    probeId: null,
-
-    initComponent: function() {
-        var rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
-            clicksToMoveEditor: 1,
-            autoCancel: false
-        });
-        this.plugins = [rowEditing];
-        this.dockedItems = [{
-            xtype: 'toolbar',
-            dock: 'bottom',
-            items: ['->', {
-                text: 'Details',
-                icon: 'gfx/document-open.png',
-                action: 'open',
-                disabled: true
-            }, {
-                text: 'Hinzufügen',
-                icon: 'gfx/list-add.png',
-                action: 'add',
-                probeId: this.probeId
-            }, {
-                text: 'Löschen',
-                icon: 'gfx/list-remove.png',
-                action: 'delete'
-            }]
-        }];
-        this.columns = [{
-            header: 'Erzeuger',
-            dataIndex: 'erzeuger',
-            editor: {
-                allowBlank: false,
-            }
-        }, {
-            header: 'Datum',
-            dataIndex: 'datum',
-            editor: {
-                xtype: 'datefield',
-                allowBlank: false,
-                format: 'd.m.Y',
-                maxValue: Ext.Date.format(new Date(), 'd.m.Y')
-            }
-        }, {
-            header: 'Text',
-            dataIndex: 'text',
-            flex: 1,
-            editor: {
-                allowBlank: false,
-            }
-        }];
-        this.callParent(arguments);
-    },
-    listeners: {
-        selectionchange: function(model, selected, eOpts) {
-            /*
-            * Enable the 'details' button only when an item is selected
-            */
-            if (selected.length > 0) {
-                this.down('button[action=open]').enable();
-            }
-        }
-    }
-});
--- a/app/view/messungen/Create.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to create a Messung
- */
-Ext.define('Lada.view.messungen.Create', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.messungencreate',
-    requires: [
-        'Lada.view.messungen.CreateForm'
-    ],
-
-    title: 'Maske für Messungen',
-    autoShow: true,
-    autoScroll: true,
-    modal: true,
-
-    initComponent: function() {
-        var form = Ext.create('Lada.view.messungen.CreateForm',
-            this.initialConfig);
-        this.buttons = [{
-            text: 'Speichern',
-            scope: form,
-            action: 'save'
-        }, {
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        this.items = [{
-            border: 0,
-            autoScroll: true,
-            items: [form]
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/messungen/CreateForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to create a Messung
- */
-Ext.define('Lada.view.messungen.CreateForm', {
-    extend: 'Lada.view.widgets.LadaForm',
-    requires: [
-        'Lada.view.widgets.Datetime',
-        'Lada.view.widgets.Messmethode',
-        'Lada.view.widgets.Testdatensatz'
-    ],
-
-    model: 'Lada.model.Messung',
-
-    initComponent: function() {
-        this.items = [{
-            xtype: 'textfield',
-            name: 'nebenprobenNr',
-            maxLength: 10,
-            fieldLabel: 'NPR'
-        }, {
-            xtype: 'messmethode',
-            name: 'mmtId',
-            fieldLabel: 'MMT'
-        }, {
-            xtype: 'datetime',
-            name: 'messzeitpunkt',
-            fieldLabel: 'Messzeitpunkt'
-        }, {
-            xtype: 'numberfield',
-            allowDecimals: false,
-            minValue: 0,
-            name: 'messdauer',
-            fieldLabel: 'Messdauer'
-        }, {
-            xtype: 'testdatensatz',
-            name: 'fertig',
-            fieldLabel: 'Fertig'
-        }, {
-            xtype: 'testdatensatz',
-            name: 'geplant',
-            fieldLabel: 'Geplant'
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/messungen/Edit.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to edit a Messung
- */
-Ext.define('Lada.view.messungen.Edit', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.messungenedit',
-    requires: [
-        'Lada.view.messungen.EditForm'
-    ],
-
-    collapsible: true,
-    maximizable: true,
-    title: 'Messung',
-    autoShow: true,
-    layout: 'fit',
-
-    initComponent: function() {
-        var form = Ext.create('Lada.view.messungen.EditForm',
-            this.initialConfig);
-        this.buttons = [{
-            text: 'Schließen',
-            scope: this,
-            handler: this.close
-        }];
-        this.width = 700;
-        this.maxHeight = Ext.getBody().getViewSize().height - 57;
-        this.items = [{
-            border: 0,
-            autoScroll: true,
-            items: [form]
-        }];
-        this.callParent();
-    }
-});
--- a/app/view/messungen/EditForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,174 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to edit a Messung
- */
-Ext.define('Lada.view.messungen.EditForm', {
-    extend: 'Lada.view.widgets.LadaForm',
-
-    requires: [
-        'Lada.view.widgets.Messmethode',
-        'Lada.view.widgets.Testdatensatz',
-        'Lada.view.mkommentare.List',
-        'Lada.view.status.List',
-        'Lada.view.messwerte.List'
-    ],
-
-    model: 'Lada.model.Messung',
-    minWidth: 650,
-
-    initComponent: function() {
-        var me = this;
-        this.items = [{
-            xtype: 'fieldset',
-            title: 'Allgemein',
-            items: [{
-                layout: {
-                    type: 'table',
-                    columns: 2
-                },
-                border: 0,
-                margin: '0, 0, 10, 0',
-                dockedItems: [{
-                    xtype: 'toolbar',
-                    dock: 'bottom',
-                    border: '0, 1, 1, 1',
-                    style: {
-                        borderBottom: '1px solid #b5b8c8 !important',
-                        borderLeft: '1px solid #b5b8c8 !important',
-                        borderRight: '1px solid #b5b8c8 !important'
-                    },
-                    items: ['->', {
-                        text: 'Speichern',
-                        qtip: 'Daten speichern',
-                        icon: 'gfx/dialog-ok-apply.png',
-                        action: 'save',
-                        scope: me,
-                        handler: this.commit
-                    }, {
-                        text: 'Verwerfen',
-                        qtip: 'Änderungen verwerfen',
-                        icon: 'gfx/dialog-cancel.png',
-                        action: 'discard',
-                        disabled: true,
-                        scope: me,
-                        handler: this.reset
-                    }]
-                }],
-                items: [{
-                    xtype: 'textfield',
-                    name: 'nebenprobenNr',
-                    maxLength: 10,
-                    margin: '0, 10, 5, 0',
-                    fieldLabel: 'Nebenprobennr.',
-                    listeners: {
-                        dirtychange: {
-                            fn: this.updateOnChange,
-                            scope: me
-                        }
-                    }
-                }, {
-                    xtype: 'messmethode',
-                    name: 'mmtId',
-                    margin: '0, 10, 5, 0',
-                    fieldLabel: 'Messmethode',
-                    listeners: {
-                        dirtychange: {
-                            fn: this.updateOnChange,
-                            scope: me
-                        }
-                    }
-                }, {
-                    xtype: 'datetime',
-                    name: 'messzeitpunkt',
-                    margin: '0, 10, 5, 0',
-                    fieldLabel: 'Messzeitpunkt',
-                    listeners: {
-                        dirtychange: {
-                            fn: this.updateOnChange,
-                            scope: me
-                        }
-                    }
-                }, {
-                    xtype: 'numberfield',
-                    allowDecimals: false,
-                    minValue: 0,
-                    name: 'messdauer',
-                    margin: '0, 10, 5, 0',
-                    fieldLabel: 'Messdauer',
-                    listeners: {
-                        dirtychange: {
-                            fn: this.updateOnChange,
-                            scope: me
-                        }
-                    }
-                }, {
-                    xtype: 'testdatensatz',
-                    name: 'fertig',
-                    margin: '0, 10, 5, 0',
-                    fieldLabel: 'Fertig',
-                    listeners: {
-                        dirtychange: {
-                            fn: this.updateOnChange,
-                            scope: me
-                        }
-                    }
-                }, {
-                    xtype: 'testdatensatz',
-                    name: 'geplant',
-                    margin: '0, 10, 5, 0',
-                    fieldLabel: 'Geplant',
-                    listeners: {
-                        dirtychange: {
-                            fn: this.updateOnChange,
-                            scope: me
-                        }
-                    }
-                }]
-            }]
-        }, {
-            // Messwerte
-            xtype: 'fieldset',
-            title: 'Messwerte',
-            collapsible: true,
-            collapsed: false,
-            padding: '10 10',
-            items: [{
-                xtype: 'messwertelist',
-                parentId: this.model.get('messungsId'),
-                probeId: this.model.get('probeId')
-            }]
-        }, {
-            // Status
-            xtype: 'fieldset',
-            title: 'Messungsstatus',
-            collapsible: true,
-            collapsed: false,
-            padding: '10 10',
-            items: [{
-                xtype: 'statuslist',
-                parentId: this.model.get('messungsId'),
-                probeId: this.model.get('probeId')
-            }]
-        }, {
-            // Messungskommentare
-            xtype: 'fieldset',
-            title: 'Messungskommentare',
-            collapsible: true,
-            collapsed: false,
-            padding: '10 10',
-            items: [{
-                xtype: 'mkommentarelist',
-                parentId: this.model.get('messungsId'),
-                probeId: this.model.get('probeId')
-            }]
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/messungen/List.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,156 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Grid to list Messungen
- */
-Ext.define('Lada.view.messungen.List', {
-    extend: 'Ext.grid.Panel',
-    alias: 'widget.messungenlist',
-
-    store: 'Messungen',
-    viewConfig: {
-        maxHeight: 350,
-        emptyText: 'Keine Messungen gefunden.',
-        // minHeight and deferEmptyText are needed to be able to show the
-        // emptyText message.
-        minHeight: 65,
-        deferEmptyText: false
-    },
-
-    probeId: null,
-
-    initComponent: function() {
-        var rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
-            clicksToMoveEditor: 1,
-            autoCancel: false
-        });
-        this.plugins = [rowEditing];
-        this.dockedItems = [{
-            xtype: 'toolbar',
-            dock: 'bottom',
-            items: ['->', {
-                text: 'Details',
-                icon: 'gfx/document-open.png',
-                action: 'open',
-                disabled: true
-            }, {
-                text: 'Hinzufügen',
-                icon: 'gfx/list-add.png',
-                action: 'add',
-                probeId: this.probeId
-            }, {
-                text: 'Löschen',
-                icon: 'gfx/list-remove.png',
-                action: 'delete'
-            }]
-        }];
-        this.columns = [{
-            header: 'Mess.ID',
-            editor: {
-                allowBlank: false
-            },
-            dataIndex: 'id',
-            width: 50
-        }, {
-            header: 'NPR-Nr.',
-            editor: {
-                allowBlank: false
-            },
-            dataIndex: 'nebenprobenNr',
-            width: 50
-        }, {
-            header: 'MMT',
-            editor: {
-                allowBlank: false
-            },
-            dataIndex: 'mmtId',
-            width: 50
-        }, {
-            header: 'Messzeit',
-            editor: {
-                xtype: 'datefield',
-                allowBlank: false,
-                format: 'd.m.Y',
-                minValue: '01.01.2001', // TODO: gibt es ein minValue?
-                //minText: 'Fehlertext', // TODO: Fehlertext falls minValue
-                maxValue: Ext.Date.format(new Date(), 'd.m.Y')
-            },
-            dataIndex: 'messzeitpunkt'
-        }, {
-            header: 'Status',
-            dataIndex: 'id',
-            width: 50,
-            renderer: function(value) {
-                var sstore = Ext.getStore('Status');
-                sstore.load({
-                    params: {
-                        probeId: value.probeId,
-                        messungsId: value.id
-                    }
-                });
-                if (sstore.getTotalCount() === 0) {
-                    return 'unbekannt';
-                }
-                return sstore.last().get('status');
-            }
-        }, {
-            header: 'OK-Flag',
-            dataIndex: 'fertig',
-            width: 50,
-            renderer: function(value) {
-                if (value) {
-                    return 'Ja';
-                }
-                return 'Nein';
-            },
-            editor: {
-                xtype: 'checkboxfield',
-                allowBlank: false
-            }
-         }, {
-            header: 'Anzahl Nuklide',
-            dataIndex: 'id',
-            renderer: function(value) {
-                var mstore = Ext.getStore('Messwerte');
-                mstore.load({
-                    params: {
-                        probeId: value.probeId,
-                        messungsId: value.id
-                    }
-                });
-                return mstore.getTotalCount();
-            }
-        }, {
-            header: 'Anzahl Kommentare',
-            flex: 1,
-            dataIndex: 'id',
-            renderer: function(value) {
-                var kstore = Ext.getStore('KommentareM');
-                kstore.load({
-                    params: {
-                        probeId: value.probeId,
-                        messungsId: value.id
-                    }
-                });
-                return kstore.getTotalCount();
-            }
-        }];
-        this.callParent(arguments);
-    },
-    listeners: {
-        selectionchange: function(model, selected, eOpts) {
-            /*
-            * Enable the 'details' button only when an item is selected
-            */
-            if (selected.length > 0) {
-                this.down('button[action=open]').enable();
-            }
-        }
-    }
-});
--- a/app/view/messwerte/Create.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to create and edit a Messwert
- */
-Ext.define('Lada.view.messwerte.Create', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.messwertecreate',
-
-    requires: [
-        'Lada.view.messwerte.CreateForm'
-    ],
-
-    title: 'Maske für Messwerte',
-    autoShow: true,
-    autoScroll: true,
-    modal: true,
-
-    initComponent: function() {
-        var form = Ext.create('Lada.view.messwerte.CreateForm',
-            this.initialConfig);
-        this.buttons = [{
-            text: 'Speichern',
-            scope: form,
-            action: 'save'
-        }, {
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        this.items = [form];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/messwerte/CreateForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to create and edit a Messwert
- */
-Ext.define('Lada.view.messwerte.CreateForm', {
-    extend: 'Lada.view.widgets.LadaForm',
-    requires: [
-        'Lada.view.widgets.Messgroesse',
-        'Lada.view.widgets.Messeinheit',
-        'Lada.view.widgets.Nwg'
-    ],
-
-    model: 'Lada.model.Messwert',
-
-    initComponent: function() {
-        this.items = [{
-            xtype: 'numberfield',
-            name: 'messwert',
-            fieldLabel: 'Messwert'
-        }, {
-            xtype: 'nwg',
-            name: 'messwertNwg',
-            fieldLabel: 'Messwert zu NWG'
-        }, {
-            xtype: 'numberfield',
-            name: 'nwgZuMesswert',
-            fieldLabel: 'Nachweisgrenze'
-        }, {
-            xtype: 'numberfield',
-            name: 'messfehler',
-            fieldLabel: 'Messfehler'
-        }, {
-            xtype: 'messgroesse',
-            name: 'messgroesseId',
-            fieldLabel: 'Messgroesse'
-        }, {
-            xtype: 'messeinheit',
-            name: 'mehId',
-            fieldLabel: 'Messeinheit'
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/messwerte/List.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,126 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Grid to list Messwerte
- */
-Ext.define('Lada.view.messwerte.List', {
-    extend: 'Ext.grid.Panel',
-    alias: 'widget.messwertelist',
-
-    store: 'Messwerte',
-    viewConfig: {
-        maxHeight: 350,
-        emptyText: 'Keine Messwerte gefunden.',
-        // minHeight and deferEmptyText are needed to be able to show the
-        // emptyText message.
-        minHeight: 65,
-        deferEmptyText: false
-    },
-
-    probeId: null,
-    parentId: null,
-
-    initComponent: function() {
-        var rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
-            clicksToMoveEditor: 1,
-            autoCancel: false
-        });
-
-        this.plugins = [rowEditing];
-
-        this.dockedItems = [{
-            xtype: 'toolbar',
-            dock: 'bottom',
-            items: ['->', {
-                text: 'Details',
-                icon: 'gfx/document-open.png',
-                action: 'open',
-                disabled: true
-            }, {
-                text: 'Hinzufügen',
-                icon: 'gfx/list-add.png',
-                action: 'add',
-                probeId: this.probeId,
-                parentId: this.parentId
-            }, {
-                text: 'Löschen',
-                icon: 'gfx/list-remove.png',
-                action: 'delete'
-            }]
-        }];
-        this.columns = [{
-            header: '&lt;NWG',
-            dataIndex: 'messwertNwg',
-            editor: {
-                xtype: 'nwg',
-                allowBlank: false
-            }
-        }, {
-            header: 'Messwert',
-            dataIndex: 'messwert',
-            editor: {
-                xtype: 'numberfield',
-                allowBlank: false
-            }
-        }, {
-            header: 'Messfehler',
-            dataIndex: 'messfehler',
-            editor: {
-                xtype: 'numberfield',
-                allowBlank: false
-            }
-        }, {
-            header: 'Messgröße',
-            dataIndex: 'messgroesseId',
-            renderer: function(value) {
-                var store = Ext.data.StoreManager.get('staMessgroessen');
-                return store.findRecord('id', value).get('messgroesse');
-            },
-            editor: {
-                xtype: 'messgroesse',
-                allowBlank: false
-            }
-        }, {
-            header: 'Messeinheit',
-            dataIndex: 'mehId',
-            renderer: function(value) {
-                var store = Ext.data.StoreManager.get('staMesseinheiten');
-                return store.findRecord('id', value).get('einheit');
-            },
-            editor: {
-                xtype: 'messeinheit',
-                allowBlank: false
-            }
-        }, {
-            header: 'Grenzwertüberschreitung',
-            dataIndex: 'grenzwertueberschreitung',
-            flex: 1,
-            renderer: function(value) {
-                if (value === true) {
-                    return 'Ja';
-                }
-                return 'Nein';
-            },
-            editor: {
-                xtype: 'checkboxfield'
-            }
-        }];
-        this.callParent(arguments);
-    },
-    listeners: {
-        selectionchange: function(model, selected, eOpts) {
-            /*
-            * Enable the 'details' button only when an item is selected
-            */
-            if (selected.length > 0) {
-                this.down('button[action=open]').enable();
-            }
-        }
-    }
-});
--- a/app/view/mkommentare/Create.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to create and edit a Kommentar for Messungen
- */
-Ext.define('Lada.view.mkommentare.Create', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.mkommentarecreate',
-
-    requires: [
-        'Lada.view.mkommentare.CreateForm'
-    ],
-
-    title: 'Maske für Messungskommentare',
-    // Make size of the dialog dependend of the available space.
-    // TODO: Handle resizing the browser window.
-    autoShow: true,
-    autoScroll: true,
-    modal: true,
-
-    initComponent: function() {
-        var form = Ext.create('Lada.view.mkommentare.CreateForm',
-            this.initialConfig);
-        this.buttons = [{
-            text: 'Speichern',
-            scope: form,
-            action: 'save'
-        }, {
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        this.items = [form];
-        this.callParent();
-    }
-});
--- a/app/view/mkommentare/CreateForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to create and edit a Kommentar for Messungen
- */
-Ext.define('Lada.view.mkommentare.CreateForm', {
-    extend: 'Lada.view.widgets.LadaForm',
-
-    requires: [
-        'Lada.view.widgets.Mst',
-        'Lada.view.widgets.Datetime'
-    ],
-
-    model: 'Lada.model.KommentarM',
-
-    initComponent: function() {
-        this.items = [{
-            xtype: 'mst',
-            name: 'erzeuger',
-            fieldLabel: 'Erzeuger'
-        }, {
-            xtype: 'datetime',
-            name: 'datum',
-            fieldLabel: 'Datum'
-        }, {
-            xtype: 'textareafield',
-            maxLength: 1024,
-            name: 'text',
-            fieldLabel: 'Text'
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/mkommentare/List.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Grid to list Kommentare for Messunge
- */
-Ext.define('Lada.view.mkommentare.List', {
-    extend: 'Ext.grid.Panel',
-    alias: 'widget.mkommentarelist',
-
-    store: 'KommentareM',
-    viewConfig: {
-        maxHeight: 350,
-        emptyText: 'Keine Kommentare gefunden.',
-        // minHeight and deferEmptyText are needed to be able to show the
-        // emptyText message.
-        minHeight: 65,
-        deferEmptyText: false
-    },
-
-    probeId: null,
-    parentId: null,
-
-    initComponent: function() {
-        var rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
-            clicksToMoveEditor: 1,
-            autoCancel: false
-        });
-        
-        this.plugins = [rowEditing];
-        
-        this.dockedItems = [{
-            xtype: 'toolbar',
-            dock: 'bottom',
-            items: ['->', {
-                text: 'Details',
-                icon: 'gfx/document-open.png',
-                action: 'open',
-                disabled: true
-            }, {
-                text: 'Hinzufügen',
-                icon: 'gfx/list-add.png',
-                action: 'add',
-                probeId: this.probeId,
-                parentId: this.parentId
-            }, {
-                text: 'Löschen',
-                icon: 'gfx/list-remove.png',
-                action: 'delete'
-            }]
-        }];
-        this.columns = [{
-            header: 'Erzeuger',
-            dataIndex: 'erzeuger',
-            editor: {
-                allowBlank: false
-            }
-        }, {
-            header: 'Datum',
-            dataIndex: 'datum',
-            editor: {
-                xtype: 'datefield',
-                allowBlank: false,
-                format: 'd.m.Y',
-                maxValue: Ext.Date.format(new Date(), 'd.m.Y')
-            }
-        }, {
-            header: 'Text',
-            dataIndex: 'text',
-            flex: 1,
-            editor: {
-                allowBlank: false
-            }
-        }];
-        this.callParent(arguments);
-    },
-     listeners: {
-        selectionchange: function(model, selected, eOpts) {
-            /*
-            * Enable the 'details' button only when an item is selected
-            */
-            if (selected.length > 0) {
-                this.down('button[action=open]').enable();
-            }
-        }
-    }
-});
--- a/app/view/orte/Create.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to create and edit a Ort
- */
-Ext.define('Lada.view.orte.Create', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.ortecreate',
-    requires: [
-        'Lada.view.orte.CreateForm'
-    ],
-
-    title: 'Maske für Orte',
-    autoShow: true,
-    autoScroll: true,
-    modal: true,
-
-    initComponent: function() {
-        var form = Ext.create('Lada.view.orte.CreateForm',
-            this.initialConfig);
-        this.buttons = [{
-            text: 'Speichern',
-            scope: form,
-            action: 'save'
-        }, {
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        this.items = [form];
-        this.callParent();
-    }
-});
--- a/app/view/orte/CreateForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,130 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to create and edit a Ort
- */
-Ext.define('Lada.view.orte.CreateForm', {
-    extend: 'Lada.view.widgets.LadaForm',
-    requires: [
-        'Lada.view.widgets.Ortdetail',
-        'Lada.view.widgets.Staat',
-        'Lada.view.widgets.Verwaltungseinheit',
-        'Lada.view.orte.CreateOrt'
-    ],
-
-    model: 'Lada.model.Ort',
-    edit: false,
-
-    initComponent: function() {
-        this.items = [{
-            xtype: 'ortdetail',
-            name: 'ortId',
-            fieldLabel: 'Ort',
-            listeners: {
-                scope: this,
-                'change': function(field, newv) {
-                    if (field.up('window')) {
-                        field.up('window').down('fieldset').show();
-                    }
-                    var orte = Ext.data.StoreManager.get('staOrte');
-                    var ort = orte.getById(newv);
-                    var fields = [
-                        'beschreibung',
-                        'bezeichnung',
-                        'hoeheLand',
-                        'latitude',
-                        'longitude',
-                        'staatId',
-                        'gemId'
-                    ];
-
-                    // Load currently "selected" verwaltungseinheit.  This
-                    // is needed as without having this record the field
-                    // would only display the raw value (id) of the
-                    // verwaltungseinheit.
-                    var verw =
-                        Ext.data.StoreManager.get('staVerwaltungseinheiten');
-                    if (ort) {
-                        verw.load({
-                            id: ort.get('gemId')
-                        });
-                    }
-
-                    var form = this.getForm();
-                    var ffield = null;
-                    if (ort) {
-                        for (var i = fields.length - 1; i >= 0; i--) {
-                            ffield = form.findField('ort_' + fields[i]);
-                            ffield.setValue(ort.get(fields[i]));
-                        }
-                    }
-                }
-            }
-        }, {
-            xtype: 'textfield',
-            name: 'ortsTyp',
-            maxLength: 1,
-            fieldLabel: 'Typ'
-        }, {
-            xtype: 'textareafield',
-            name: 'ortszusatztext',
-            maxLength: 100,
-            fieldLabel: 'Ortszusatz'
-        }, {
-            xtype: 'button',
-            name: 'newort',
-            text: 'Neuen Ort Anlegen',
-            hidden: this.edit,
-            action: 'newort'
-        }, {
-            xtype: 'fieldset',
-            title: 'Ortsangaben',
-            hidden: !this.edit,
-            defaults: {
-                    labelWidth: 150
-            },
-            items: [{
-                xtype: 'textfield',
-                maxLength: 100,
-                name: 'ort_beschreibung',
-                fieldLabel: 'Beschreibung'
-            }, {
-                xtype: 'textfield',
-                maxLength: 10,
-                name: 'ort_bezeichnung',
-                fieldLabel: 'Bezeichnung'
-            }, {
-                xtype: 'staat',
-                name: 'ort_staatId',
-                fieldLabel: 'Staat'
-            }, {
-                xtype: 'verwaltungseinheiten',
-                name: 'ort_gemId',
-                fieldLabel: 'Gemeinde'
-            }, {
-                xtype: 'numberfield',
-                name: 'ort_latitude',
-                fieldLabel: 'Lat'
-            }, {
-                xtype: 'numberfield',
-                name: 'ort_longitude',
-                fieldLabel: 'Lon'
-            }, {
-                xtype: 'numberfield',
-                name: 'ort_hoeheLand',
-                fieldLabel: 'Höhe'
-            }]
-        }];
-        this.callParent(arguments);
-    },
-
-    updateOrtInfo: function(field, oldv, newv, opts) {
-        console.log(field, oldv, newv, opts);
-    }
-});
--- a/app/view/orte/CreateOrt.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,84 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- *
- */
-Ext.define('Lada.view.orte.CreateOrt', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.createortdetail',
-
-    requires: [
-        'Lada.view.widgets.Staat',
-        'Lada.view.widgets.Verwaltungseinheit'
-    ],
-
-    title: 'Neuer Ort',
-
-    /**
-     * @private
-     * Initialize the view.
-     */
-    initComponent: function() {
-        var me = this;
-
-        var form = Ext.create('Ext.form.Panel', {
-            items: [{
-                xtype: 'textfield',
-                maxLength: 100,
-                name: 'ort_beschreibung',
-                fieldLabel: 'Beschreibung'
-            }, {
-                xtype: 'staat',
-                name: 'ort_staatId',
-                fieldLabel: 'Staat'
-            }, {
-                xtype: 'verwaltungseinheiten',
-                name: 'ort_gemId',
-                fieldLabel: 'Gemeinde',
-                listeners: {
-                    'select': {
-                        scope: me,
-                        fn: function(field, newValue) {
-                            var lon = field.up('window').down(
-                                'numberfield[name=ort_longitude]');
-                            var lat = field.up('window').down(
-                                'numberfield[name=ort_latitude]');
-                            lon.setValue(newValue[0].data.longitude);
-                            lat.setValue(newValue[0].data.latitude);
-                        }
-                    }
-                }
-            }, {
-                xtype: 'numberfield',
-                name: 'ort_latitude',
-                fieldLabel: 'Lat'
-            }, {
-                xtype: 'numberfield',
-                name: 'ort_longitude',
-                fieldLabel: 'Lon'
-            }, {
-                xtype: 'numberfield',
-                name: 'ort_hoeheLand',
-                fieldLabel: 'Höhe'
-            }]
-        });
-
-        me.items = [form];
-        this.buttons = [{
-            text: 'Speichern',
-            scope: form,
-            action: 'save'
-        }, {
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/orte/List.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,120 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Grid to list Orte
- */
-Ext.define('Lada.view.orte.List', {
-    extend: 'Ext.grid.Panel',
-    alias: 'widget.ortelist',
-
-    viewConfig: {
-        maxHeight: 350,
-        emptyText: 'Keine Orte gefunden.',
-        // minHeight and deferEmptyText are needed to be able to show the
-        // emptyText message.
-        minHeight: 65,
-        deferEmptyText: false
-    },
-
-    probeId: null,
-
-    initComponent: function() {
-        var rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
-            clicksToMoveEditor: 1,
-            autoCancel: false
-        });
-        this.plugins = [rowEditing];
-        this.store = Ext.data.StoreManager.get('Orte');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.Orte');
-        }
-        this.dockedItems = [{
-            xtype: 'toolbar',
-            dock: 'bottom',
-            items: ['->', {
-                text: 'Details',
-                icon: 'gfx/document-open.png',
-                action: 'open',
-                disabled: true
-            }, {
-                text: 'Hinzufügen',
-                icon: 'gfx/list-add.png',
-                action: 'add',
-                probeId: this.probeId
-            }, {
-                text: 'Löschen',
-                icon: 'gfx/list-remove.png',
-                action: 'delete'
-            }]
-        }];
-        this.columns = [{
-            header: 'Typ',
-            dataIndex: 'ortsTyp',
-            editor: {
-                allowBlank: false
-            }
-        }, {
-            header: 'Staat',
-            dataIndex: 'ortId',
-            renderer: function(value) {
-                var store = Ext.data.StoreManager.get('staOrte');
-                var staaten = Ext.data.StoreManager.get('staStaaten');
-                var record =
-                    staaten.getById(store.getById(value).get('staatId'));
-                return record.get('staatIso');
-            }
-        }, {
-            header: 'Gemeineschlüssel',
-            dataIndex: 'ortId',
-            renderer: function(value) {
-                var store = Ext.data.StoreManager.get('staOrte');
-                var record = store.getById(value);
-                return record.get('gemId');
-            }
-        }, {
-            header: 'Gemeindename',
-            dataIndex: 'ortId',
-            flex: 1,
-            renderer: function(value) {
-                var store = Ext.data.StoreManager.get('staOrte');
-                var gemeinden =
-                    Ext.data.StoreManager.get('staVerwaltungseinheiten');
-                var record = store.getById(value);
-                var gemid = record.get('gemId');
-                var record2 = gemeinden.getById(gemid);
-                return record2.get('bezeichnung');
-            }
-            //editor: {
-            //    allowBlank: false
-            //}
-        }, {
-            header: 'Messpunkt',
-            dataIndex: 'ortId',
-            renderer: function(value) {
-                var store = Ext.getStore('staOrte');
-                var record = store.getById(value);
-                return record.get('bezeichnung');
-            }
-            //editor: {
-            //    allowBlank: false
-            //}
-        }];
-        this.callParent(arguments);
-    },
-    listeners: {
-        selectionchange: function(model, selected, eOpts) {
-            /*
-            * Enable the 'details' button only when an item is selected
-            */
-            if (selected.length > 0) {
-                this.down('button[action=open]').enable();
-            }
-        }
-    }
-});
--- a/app/view/proben/Create.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to create a Probe
- */
-Ext.define('Lada.view.proben.Create', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.probencreate',
-
-    requires: [
-        'Lada.view.proben.CreateForm'
-    ],
-
-    title: 'Neue §3-Probe',
-    autoShow: true,
-    modal: true,
-    layout: 'fit',
-
-    initComponent: function() {
-        this.buttons = [{
-            text: 'Speichern',
-            action: 'save'
-        }, {
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        this.width = 700;
-        var form = Ext.create('Lada.view.proben.CreateForm');
-        this.items = [{
-            border: 0,
-            autoScroll: true,
-            items: [form]
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/proben/CreateForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,184 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to create a Probe
- */
-Ext.define('Lada.view.proben.CreateForm', {
-    extend: 'Lada.view.widgets.LadaForm',
-    requires: [
-        'Lada.view.widgets.Mst',
-        'Lada.view.widgets.Datenbasis',
-        'Lada.view.widgets.Netzbetreiber',
-        'Lada.view.widgets.Betriebsart',
-        'Lada.view.widgets.Testdatensatz',
-        'Lada.view.widgets.Probenart',
-        'Lada.view.widgets.Uwb'
-    ],
-
-    model: 'Lada.model.Probe',
-    minWidth: 650,
-
-    initComponent: function() {
-        this.items = [{
-            xtype: 'fieldset',
-            title: 'Probenangaben',
-            defaults: {
-                    labelWidth: 160
-            },
-            items: [{
-                layout: 'hbox',
-                border: 0,
-                items: [{
-                    border: 0,
-                    width: '43%',
-                    minWidth: 290,
-                    items: [{
-                        xtype: 'mst',
-                        name: 'mstId',
-                        labelWidth: 125,
-                        fieldLabel: 'Messstelle',
-                        allowBlank: false
-                    }, {
-                        xtype: 'textfield',
-                        name: 'hauptprobenNr',
-                        labelWidth: 125,
-                        maxLength: 20,
-                        fieldLabel: 'Hauptprobennr.'
-                    }]
-                }, {
-                    border: 0,
-                    width: '52%',
-                    minWidth: 300,
-                    items: [{
-                        xtype: 'fieldset',
-                        title: 'Erweiterte Probenangaben',
-                        collapsible: true,
-                        collapsed: true,
-                        items: [{
-                            xtype: 'datenbasis',
-                            id: 'datenbasis',
-                            editable: false,
-                            name: 'datenbasisId',
-                            fieldLabel: 'Datenbasis'
-                        }, {
-                            xtype: 'betriebsart',
-                            name: 'baId',
-                            fieldLabel: 'Betriebsart'
-                        }, {
-                            xtype: 'testdatensatz',
-                            name: 'test',
-                            fieldLabel: 'Testdatensatz',
-                            allowBlank: false
-                        }, {
-                            xtype: 'probenart',
-                            id: 'probenart',
-                            editable: false,
-                            name: 'probenartId',
-                            fieldLabel: 'Probenart',
-                            allowBlank: false
-                        }, {
-                            xtype: 'numberfield',
-                            allowDecimals: false,
-                            name: 'probeNehmerId',
-                            fieldLabel: 'Probennehmer'
-                        }, {
-                            xtype: 'netzbetreiber',
-                            name: 'netzbetreiberId',
-                            fieldLabel: 'Netzbetreiber',
-                            editable: false,
-                            allowBlank: false
-                        }]
-                    }]
-                }]
-            }]
-        }, {
-            // Medium
-            xtype: 'fieldset',
-            title: 'Medium',
-            items: [{
-                border: 0,
-                layout: {
-                    type: 'vbox',
-                    align: 'stretch'
-                },
-                items: [{
-                    xtype: 'uwb',
-                    name: 'umwId',
-                    fieldLabel: 'Umweltbereich',
-                    labelWidth: 125,
-                    allowBlank: false
-                }, {
-                    xtype: 'textfield',
-                    maxLength: 100,
-                    name: 'media',
-                    labelWidth: 125,
-                    fieldLabel: 'Medienbezeichnung'
-                }, {
-                    xtype: 'textfield',
-                    maxLength: 100,
-                    name: 'mediaDesk',
-                    labelWidth: 125,
-                    fieldLabel: 'Deskriptoren'
-                }, {
-                    xtype: 'fieldset',
-                    title: 'Details Deskriptoren',
-                    collapsible: true,
-                    collapsed: true,
-                    defaultType: 'textfield',
-                    layout: {
-                        type: 'table',
-                        columns: 3
-                    },
-                    items: this.buildDescriptors()
-                }]
-            }]
-        }, {
-            // Zeit
-            xtype: 'fieldset',
-            title: 'Zeit',
-            defaultType: 'datetime',
-            layout: {
-                type: 'table',
-                columns: 2
-            },
-            items: [{
-                fieldLabel: 'Probennahme Beginn',
-                name: 'probeentnahmeBeginn',
-                margin: '0, 10, 5, 0',
-                labelWidth: 125
-            }, {
-                fieldLabel: 'Sollzeit Von',
-                name: 'solldatumBeginn',
-                margin: '0, 10, 5, 0',
-                labelWidth: 100
-            }, {
-                fieldLabel: 'Probennahme Ende',
-                name: 'probeentnahmeEnde',
-                margin: '0, 10, 5, 0',
-                labelWidth: 125
-            }, {
-                fieldLabel: 'Sollzeit Bis',
-                name: 'solldatumEnde',
-                margin: '0, 10, 5, 0',
-                labelWidth: 100
-            }]
-        }];
-        this.callParent(arguments);
-    },
-
-    buildDescriptors: function() {
-        var fields = [];
-        for (var i = 0; i < 12; i++) {
-            fields[i] = {
-                fieldLabel: 'S' + i, name: 's' + i
-            };
-        }
-        return fields;
-    }
-});
--- a/app/view/proben/Edit.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to edit a Probe
- */
-Ext.define('Lada.view.proben.Edit', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.probenedit',
-
-    requires: [
-        'Lada.view.proben.EditForm'
-    ],
-
-    collapsible: true,
-    maximizable: true,
-    autoShow: true,
-    autoScroll: true,
-    layout: 'fit',
-
-    initComponent: function() {
-        var probe = Ext.StoreManager.get('ProbenList').getById(this.modelId);
-        this.title = '§3-Probe ' + probe.get('probeIdAlt');
-        this.buttons = [{
-            text: 'Schließen',
-            scope: this,
-            handler: this.close
-        }];
-        this.width = 700;
-        this.height = Ext.getBody().getViewSize().height - 30;
-        // InitialConfig is the config object passed to the constructor on
-        // creation of this window. We need to pass it throuh to the form as
-        // we need the "modelId" param to load the correct item.
-
-        var form = Ext.create('Lada.view.proben.EditForm',
-            this.initialConfig);
-        this.items = [{
-            border: 0,
-            autoScroll: true,
-            items: [form]
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/proben/EditForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,384 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to edit a Probe
- */
-Ext.define('Lada.view.proben.EditForm', {
-    extend: 'Lada.view.widgets.LadaForm',
-    alias: 'widget.probeneditform',
-    requires: [
-        'Lada.view.widgets.Datenbasis',
-        'Lada.view.widgets.Netzbetreiber',
-        'Lada.view.widgets.Betriebsart',
-        'Lada.view.widgets.Testdatensatz',
-        'Lada.view.widgets.Probenart',
-        'Lada.view.widgets.Uwb',
-        'Lada.view.widgets.TextField',
-        'Lada.view.zusatzwerte.List',
-        'Lada.view.kommentare.List',
-        'Lada.view.orte.List',
-        'Lada.view.messungen.List'
-    ],
-
-    model: 'Lada.model.Probe',
-    minWidth: 650,
-
-    initComponent: function() {
-        var me = this;
-        this.items = [{
-            xtype: 'fieldset',
-            title: 'Allgemein',
-            items: [{
-                border: 0,
-                margin: '0, 0, 10, 0',
-                dockedItems: [{
-                    xtype: 'toolbar',
-                    dock: 'bottom',
-                    border: '0, 1, 1, 1',
-                    style: {
-                        borderBottom: '1px solid #b5b8c8 !important',
-                        borderLeft: '1px solid #b5b8c8 !important',
-                        borderRight: '1px solid #b5b8c8 !important'
-                    },
-                    items: ['->', {
-                        text: 'Speichern',
-                        qtip: 'Daten speichern',
-                        icon: 'gfx/dialog-ok-apply.png',
-                        action: 'save',
-                        scope: me,
-                        handler: this.commit
-                    }, {
-                        text: 'Verwerfen',
-                        qtip: 'Änderungen verwerfen',
-                        icon: 'gfx/dialog-cancel.png',
-                        action: 'discard',
-                        disabled: true,
-                        scope: me,
-                        handler: this.reset
-                    }]
-                }],
-                items: [{
-                    layout: 'hbox',
-                    border: 0,
-                    items: [{
-                        border: 0,
-                        width: '50%',
-                        minWidth: 290,
-                        layout: {
-                            type: 'vbox',
-                            align: 'stretch'
-                        },
-                        margin: '0, 10, 0, 0',
-                        items: [{
-                            xtype: 'mst',
-                            name: 'mstId',
-                            fieldLabel: 'Messstelle',
-                            labelWidth: 135,
-                            allowBlank: false,
-                            listeners: {
-                                dirtychange: {
-                                    fn: this.updateOnChange,
-                                    scope: me
-                                }
-                            }
-                        }, {
-                            xtype: 'tfield',
-                            name: 'hauptprobenNr',
-                            maxLength: 20,
-                            fieldLabel: 'Hauptprobennr.',
-                            labelWidth: 135,
-                            listeners: {
-                                dirtychange: {
-                                    fn: this.updateOnChange,
-                                    scope: me
-                                }
-                            }
-                        }]
-                    }, {
-                        border: 0,
-                        width: '50%',
-                        minWidth: 300,
-                        items: [{
-                            xtype: 'fieldset',
-                            title: 'Erweiterte Angaben',
-                            collapsible: true,
-                            collapsed: true,
-                            items: [{
-                                xtype: 'datenbasis',
-                                id: 'datenbasis',
-                                editable: false,
-                                name: 'datenbasisId',
-                                fieldLabel: 'Datenbasis',
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
-                            }, {
-                                xtype: 'betriebsart',
-                                name: 'baId',
-                                fieldLabel: 'Betriebsart',
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
-                            }, {
-                                xtype: 'testdatensatz',
-                                name: 'test',
-                                fieldLabel: 'Testdatensatz',
-                                allowBlank: false,
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
-                            }, {
-                                xtype: 'probenart',
-                                id: 'probenart',
-                                editable: false,
-                                name: 'probenartId',
-                                fieldLabel: 'Probenart',
-                                allowBlank: false,
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
-                            }, {
-                                xtype: 'numberfield',
-                                allowDecimals: false,
-                                name: 'probeNehmerId',
-                                fieldLabel: 'Probennehmer',
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
-                            }, {
-                                xtype: 'netzbetreiber',
-                                name: 'netzbetreiberId',
-                                editable: false,
-                                fieldLabel: 'Netzbetreiber',
-                                allowBlank: false,
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
-                            }, {
-                                xtype: 'textfield',
-                                name: 'x11',
-                                fieldLabel: 'Datensatzerzeuger',
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
-                            }]
-                        }]
-                    }]
-            }, {
-                // Medium
-                xtype: 'fieldset',
-                title: 'Medium',
-                items: [{
-                    border: 0,
-                    layout: {
-                        type: 'vbox',
-                        align: 'stretch'
-                    },
-                    width: '100%',
-                    items: [{
-                        xtype: 'textfield',
-                        name: 'media',
-                        labelWidth: 125,
-                        fieldLabel: 'Medienbezeichnung',
-                        listeners: {
-                            dirtychange: {
-                                fn: this.updateOnChange,
-                                scope: me
-                            }
-                        }
-                    }, {
-                        xtype: 'textfield',
-                        maxLength: 100,
-                        name: 'mediaDesk',
-                        labelWidth: 125,
-                        fieldLabel: 'Deskriptoren',
-                        listeners: {
-                            dirtychange: {
-                                fn: this.updateOnChange,
-                                scope: me
-                            }
-                        }
-                    }, {
-                        xtype: 'uwb',
-                        name: 'umwId',
-                        fieldLabel: 'Umweltbereich',
-                        labelWidth: 125,
-                        allowBlank: false,
-                        listeners: {
-                            dirtychange: {
-                                fn: this.updateOnChange,
-                                scope: me
-                            }
-                        }
-                    }, {
-                        xtype: 'fieldset',
-                        title: 'Details Deskriptoren',
-                        collapsible: true,
-                        collapsed: true,
-                        defaultType: 'textfield',
-                        layout: {
-                            type: 'table',
-                            columns: 3
-                        },
-                        items: this.buildDescriptors(),
-                        listeners: {
-                            dirtychange: {
-                                fn: this.updateOnChange,
-                                scope: me
-                            }
-                        }
-                    }]
-                }]
-            }, {
-                // Zeit
-                xtype: 'fieldset',
-                title: 'Zeit',
-                layout: {
-                    type: 'hbox'
-                },
-                items: [{
-                    layout: {
-                        type: 'vbox',
-                        align: 'stretch'
-                    },
-                    border: 0,
-                    items: [{
-                        xtype: 'datetime',
-                        fieldLabel: 'Probennahme Beginn',
-                        fieldMargin: '0, 10, 5, 0',
-                        labelWidth: 125,
-                        name: 'probeentnahmeBeginn',
-                        listeners: {
-                            dirtychange: {
-                                fn: this.updateOnChange,
-                                scope: me
-                            }
-                        }
-                    }, {
-                        xtype: 'datetime',
-                        fieldLabel: 'Probennahme Ende',
-                        fieldMargin: '0, 10, 5, 0',
-                        labelWidth: 125,
-                        name: 'probeentnahmeEnde',
-                        listeners: {
-                            dirtychange: {
-                                fn: this.updateOnChange,
-                                scope: me
-                            }
-                        }
-                    }]
-                }, {
-                    layout: 'vbox',
-                    border: 0,
-                    items: [{
-                        xtype: 'datetime',
-                        fieldLabel: 'Sollzeit Von',
-                        fieldMargin: '0, 10, 5, 0',
-                        labelWidth: 90,
-                        name: 'solldatumBeginn',
-                        listeners: {
-                            dirtychange: {
-                                fn: this.updateOnChange,
-                                scope: me
-                            }
-                        }
-                    }, {
-                        xtype: 'datetime',
-                        fieldLabel: 'Sollzeit Bis',
-                        fieldMargin: '0, 10, 5, 0',
-                        labelWidth: 90,
-                        name: 'solldatumEnde',
-                        listeners: {
-                            dirtychange: {
-                                fn: this.updateOnChange,
-                                scope: me
-                            }
-                        }
-                    }]
-                }]
-            }]
-                }]
-        }, {
-            // Ortsangaben
-            xtype: 'fieldset',
-            title: 'Ortsangaben',
-            padding: '10 10',
-            items: [{
-                xtype: 'ortelist',
-                probeId: this.modelId
-            }]
-        }, {
-            // Probenzusatzwerte
-            xtype: 'fieldset',
-            title: 'Probenzusatzwerte',
-            collapsible: true,
-            collapsed: true,
-            padding: '10 10',
-            items: [{
-                xtype: 'zusatzwertelist',
-                probeId: this.modelId
-            }]
-        }, {
-            // Probenkommentar
-            xtype: 'fieldset',
-            title: 'Probenkommentare',
-            collapsible: true,
-            collapsed: true,
-            padding: '10 10',
-            items: [{
-                xtype: 'kommentarelist',
-                probeId: this.modelId
-            }]
-        }, {
-            // Messungsangaben
-            xtype: 'fieldset',
-            title: 'Messungsangaben',
-            padding: '10 10',
-            items: [{
-                    xtype: 'messungenlist',
-                    probeId: this.modelId
-            }]
-        }];
-        this.callParent(arguments);
-    },
-
-    buildDescriptors: function() {
-        var fields = [];
-        for (var i = 0; i < 12; i++) {
-            fields[i] = {
-                fieldLabel: 'S' + i,
-                name: 's' + i,
-                labelWidth: 25,
-                margin: '0, 10, 5, 0'
-            };
-        }
-        return fields;
-    }
-});
--- a/app/view/proben/Import.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to import a Probe
- */
-Ext.define('Lada.view.proben.Import', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.probenimport',
-
-    requires: [
-        'Lada.view.proben.ImportForm'
-    ],
-
-    title: 'Maske für §3-Proben Import',
-    autoShow: true,
-    autoScroll: true,
-    modal: true,
-    initComponent: function() {
-        this.buttons = [{
-            text: 'Speichern',
-            action: 'save'
-        }, {
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        var form = Ext.create('Lada.view.proben.ImportForm');
-        this.items = [form];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/proben/ImportForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to create a Probe
- */
-Ext.define('Lada.view.proben.ImportForm', {
-    extend: 'Ext.form.Panel',
-
-    initComponent: function() {
-        this.items = [{
-            xtype: 'fileuploadfield',
-            title: 'Importdate'
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/proben/List.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
- */
-
-/*
- * Grid to list Proben
- */
-Ext.define('Lada.view.proben.List' ,{
-    extend: 'Ext.grid.Panel',
-    alias: 'widget.probenlist',
-
-    store: 'ProbenList',
-    multiSelect: true,
-    viewConfig: {
-        emptyText: 'Keine Proben gefunden.',
-        deferEmptyText: false
-    },
-
-    initComponent: function() {
-        this.dockedItems = [{
-            xtype: 'toolbar',
-            dock: 'top',
-            items: [{
-                text: 'Hinzufügen',
-                icon: 'gfx/list-add.png',
-                action: 'add'
-            }, {
-                text: 'Import',
-                icon: 'gfx/svn-commit.png',
-                action: 'import'
-            }, {
-                text: 'Export',
-                icon: 'gfx/svn-update.png',
-                action: 'export'
-            }]
-        }];
-        this.columns = [];
-        this.callParent(arguments);
-    },
-
-    /**
-     * Setup columns of the Grid dynamically based on a list of given cols.
-     * The function is called from the {@link Lada.controller.Sql#selectSql
-     * select sql event}
-     * @parameter {Array} List of cols to show in the Grid.
-     */
-    setupColumns: function(cols) {
-        var rcols = [];
-        var mfields = [];
-
-        rcols.push({
-            header: 'RW',
-            dataIndex: 'readonly',
-            width: 30,
-            renderer: render_readonly
-        });
-        mfields.push(new Ext.data.Field({name: 'readonly'}));
-        for (var i = cols.length - 1; i >= 0; i--){
-            rcols.push(cols[i]);
-            mfields.push(new Ext.data.Field({
-                name: cols[i].dataIndex
-            }));
-        }
-        this.store.model.setFields(mfields);
-        this.reconfigure(this.store, rcols);
-    }
-});
-
-/**
- * Helper function to render a readonly symbol per row in the grid
- * @param {Boolean} flag if the symbol is a readonly symbol.
- */
-function render_readonly (value) {
-    if (value) {
-        return '<img src="gfx/lock_16x16.png"/>';
-    } else {
-        return '<img src="gfx/unlock_16x16.png"/>';
-    }
-}
--- a/app/view/search/List.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Grid to list available search queryies
- */
-Ext.define('Lada.view.search.List', {
-    extend: 'Ext.form.FieldSet',
-    alias: 'widget.queryselector',
-
-    require: [
-        'Ext.layout.container.Column'
-    ],
-
-    title: 'SQL-Auswahl',
-    initComponent: function() {
-        this.layout = {
-            type: 'vbox',
-            align: 'stretch'
-        };
-        this.items = [{
-            id: 'search',
-            xtype: 'combobox',
-            editable: false,
-            store: 'Queries',
-            displayField: 'name',
-            valueField: 'id',
-            emptyText: 'Wählen Sie eine Abfrage'
-        }, {
-        // Buttons to trigger the search.
-            id: 'SearchBtnPanel',
-            xtype: 'panel',
-            border: false,
-            margin: '0 0 10 0',
-            items: [{
-                id: 'SearchBtn',
-                text: 'Suchen',
-                xtype: 'button',
-                margin: '0 10 0 0'
-            }, {
-                id: 'ResetBtn',
-                text: 'Zurücksetzen',
-                xtype: 'button'
-            }],
-            hidden: false
-        }, {
-            xtype: 'panel',
-            maxWidth: '500',
-            border: false,
-            margin: '0 10',
-            items: [{
-                id: 'sqldesc',
-                xtype: 'displayfield',
-                fieldLabel: 'Beschreibung',
-                shrinkWrap: 3,
-                value: '-/-'
-            }, {
-                id: 'results',
-                xtype: 'displayfield',
-                fieldLabel: 'Spalten',
-                value: '-/-'
-            }]
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/status/Create.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to create and edit a Status
- */
-Ext.define('Lada.view.status.Create', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.statuscreate',
-
-    requires: [
-        'Lada.view.status.CreateForm'
-    ],
-
-    title: 'Maske für den Messstatus',
-    autoShow: true,
-    autoScroll: true,
-    modal: true,
-
-    initComponent: function() {
-        var form = Ext.create('Lada.view.status.CreateForm',
-            this.initialConfig);
-        this.buttons = [{
-            text: 'Speichern',
-            scope: form,
-            action: 'save'
-        }, {
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        this.items = [form];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/status/CreateForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to create and edit a Status
- */
-Ext.define('Lada.view.status.CreateForm', {
-    extend: 'Lada.view.widgets.LadaForm',
-    requires: [
-        'Lada.view.widgets.Mst',
-        'Lada.view.widgets.Statuswert',
-        'Lada.view.widgets.Datetime'
-    ],
-
-    model: 'Lada.model.Status',
-
-    initComponent: function() {
-        this.items = [{
-            xtype: 'mst',
-            label: 'Erzeuger',
-            name: 'erzeuger'
-        }, {
-            xtype: 'statuswert',
-            label: 'Status',
-            name: 'status'
-        }, {
-            xtype: 'datetime',
-            label: 'Datum',
-            name: 'datum'
-        }, {
-            xtype: 'textarea',
-            label: 'Kommentar',
-            name: 'kommentar'
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/status/List.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,96 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Grid to list Status
- */
-Ext.define('Lada.view.status.List', {
-    extend: 'Ext.grid.Panel',
-    alias: 'widget.statuslist',
-
-    store: 'Status',
-    viewConfig: {
-        maxHeight: 350,
-        emptyText: 'Keine Statusangaben gefunden.',
-        // minHeight and deferEmptyText are needed to be able to show the
-        // emptyText message.
-        minHeight: 65,
-        deferEmptyText: false
-    },
-
-    parentId: null,
-    probeId: null,
-
-    initComponent: function() {
-        var rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
-            clicksToMoveEditor: 1,
-            autoCancel: false
-        });
-        this.plugins = [rowEditing];
-        this.dockedItems = [{
-            xtype: 'toolbar',
-            dock: 'bottom',
-            items: ['->', {
-                text: 'Details',
-                icon: 'gfx/document-open.png',
-                action: 'open',
-                disabled: true
-            }, {
-                text: 'Hinzufügen',
-                icon: 'gfx/list-add.png',
-                action: 'add',
-                probeId: this.probeId,
-                parentId: this.parentId
-            }, {
-                text: 'Löschen',
-                icon: 'gfx/list-remove.png',
-                action: 'delete'
-            }]
-        }];
-        this.columns = [{
-            header: 'Erzeuger',
-            dataIndex: 'erzeuger',
-            editor: {
-                allowBlank: false
-            }
-        }, {
-            header: 'Status',
-            dataIndex: 'status',
-            editor: {
-                allowBlank: false
-            }
-        }, {
-            header: 'Datum',
-            dataIndex: 'datum',
-            editor: {
-                xtype: 'datefield',
-                allowBlank: false,
-                format: 'd.m.Y',
-                maxValue: Ext.Date.format(new Date(), 'd.m.Y')
-            }
-        }, {
-            header: 'Text',
-            dataIndex: 'kommentar',
-            flex: 1,
-            editor: {
-                allowBlank: true
-            }
-        }];
-        this.callParent(arguments);
-    },
-    listeners: {
-        selectionchange: function(model, selected, eOpts) {
-            /*
-            * Enable the 'details' button only when an item is selected
-            */
-            if (selected.length > 0) {
-                this.down('button[action=open]').enable();
-            }
-        }
-    }
-});
--- a/app/view/widgets/Betriebsart.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-var betriebsartStore = Ext.create('Ext.data.Store', {
-    fields: ['betriebsartId', 'betriebsart'],
-    data: [{
-        'betriebsartId': '1',
-        'betriebsart': 'Normal-/Routinebtrieb'
-    }, {
-        'betriebsartId': '2',
-        'betriebsart': 'Störfall/Intensivbetrieb'
-    }]
-});
-
-/**
- * Combobox for Betriebsart
- */
-Ext.define('Lada.view.widgets.Betriebsart', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.betriebsart',
-    store: betriebsartStore,
-    queryMode: 'local',
-    displayField: 'betriebsart',
-    valueField: 'betriebsartId',
-    emptyText: 'Wählen Sie eine Betriebsart',
-
-    initComponent: function() {
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Datenbasis.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Datenbasis
- */
-Ext.define('Lada.view.widgets.Datenbasis', {
-    extend: 'Ext.form.ComboBox',
-    require: ['Lada.store.StaDatenbasen'],
-    alias: 'widget.datenbasis',
-    store: 'StaDatenbasen',
-    displayField: 'datenbasis',
-    valueField: 'id',
-    emptyText: 'Wählen Sie eine Datenbasis',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staDatenbasen');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaDatenbasen');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Datetime.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Datetimepicker with german date format.
- */
-Ext.define('Lada.view.widgets.Datetime', {
-    extend: 'Ext.panel.Panel',
-    alias: 'widget.datetime',
-
-    layout: 'hbox',
-
-    border: 0,
-
-    initComponent: function() {
-        var dateField = Ext.create('Ext.ux.form.DateTimeField', {
-            format: 'd.m.Y',
-            emptyText: 'Wählen Sie einen Zeitpunkt',
-            fieldLabel: this.fieldLabel,
-            margin: this.fieldMargin,
-            labelWidth: this.labelWidth,
-            flex: 1,
-            name: this.name,
-            listeners: this.listeners
-        });
-        this.items = [{
-            xtype: 'image',
-            name: 'warnImg',
-            src: 'gfx/icon-warning.gif',
-            margin: '2, 5, 2, 5',
-            width: 16,
-            height: 16,
-            hidden: true
-        }, {
-            xtype: 'image',
-            name: 'errorImg',
-            src: 'gfx/icon-error.gif',
-            margin: '2, 5, 2, 5',
-            width: 16,
-            height: 16,
-            hidden: true
-        }, dateField];
-        this.callParent(arguments);
-    },
-
-    showWarnings: function(warnings) {
-        var img = this.down('image[name=warnImg]');
-        Ext.create('Ext.tip.ToolTip', {
-            target: img.getEl(),
-            html: warnings
-        });
-        img.show();
-    },
-
-    showErrors: function(errors) {
-        var img = this.down('image[name=errorImg]');
-        Ext.create('Ext.tip.ToolTip', {
-            target: img.getEl(),
-            html: errors
-        });
-        img.show();
-    }
-});
--- a/app/view/widgets/LadaForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,262 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Generic Lada specific form.
- *
- * See http://moduscreate.com/expert-ext-js-model-integration-in-forms/ for
- * more details
- */
-Ext.define('Lada.view.widgets.LadaForm', {
-    extend: 'Ext.form.Panel',
-
-    alias: 'widget.ladaform',
-    bodyPadding: '10 10',
-    border: 0,
-
-    /**
-     * Can be a reference to a model instance or a model class name.
-     */
-    model: null,
-    /**
-     * Set to the id of the model instance and the model will be loaded for you.
-     * Only applicable if model provided is a model class name (string).
-     */
-    modelId: null,
-    /**
-     * List of errors in the form.
-     * Typically set after the server validates the form submission
-     */
-    errors: null,
-    /**
-     * List of warnings in the form.
-     * Typically set after the server validates the form submission
-     */
-    warnings: null,
-    /**
-     * The generic (error) message for the form.
-     * Typically set after the server validates the form submission
-     */
-    message: null,
-    /**
-     * Flag to indicate if the validation succeeds.
-     * Typically set after the server validates the form submission
-     */
-    success: null,
-    /**
-     * Flag to indicate if the form should be rendered in readonly mode. Will
-     * be set after calling the {setReadOnly} function.
-     */
-    readonly: false,
-
-    initComponent: function() {
-        this.callParent(arguments);
-
-        this.getForm().trackResetOnLoad = true; // Workaround
-
-        if (Ext.isString(this.model)) {
-            // Load a model to be updated
-            if (this.modelId) {
-                Ext.ClassManager.get(this.model).load(this.modelId, {
-                    failure: this.onModelLoadFailure,
-                    success: this.onModelLoadSuccess,
-                    scope: this
-                });
-            // Load an empty record to be inserted
-            }
-            else {
-                this.bindModel(Ext.create(this.model, {}));
-            }
-        }
-        else {
-            // Bind the provided model to be updated
-            this.bindModel(this.model);
-        }
-        this.addEvents(
-            'loadsuccess',
-            'loadfailure',
-            'savesuccess',
-            'savefailure');
-    },
-
-    bindModel: function(model) {
-        this.model = model;
-        this.loadRecord(model);
-        // Set the form to readonly if the models readonly attribute is
-        // true
-        if (model.get('readonly') === true) {
-            this.setReadOnly(true);
-        }
-    },
-
-    reset: function() {
-        this.loadRecord(this.model);
-        this.updateOnChange();
-    },
-
-    commit: function() {
-        if (this.form.isDirty() &&
-            this.form.isValid()) {
-            var data = this.model.getAllData();
-            var baseUrl = this.model.getProxy().url;
-            var url = baseUrl;
-            var method = 'POST';
-            if (this.model.getId()) {
-                url += this.model.getId();
-                method = 'PUT';
-            }
-
-            Ext.Ajax.request({
-                url: url,
-                jsonData: data,
-                method: method,
-                callback: function(option, success, response) {
-                    this.parseResponse(response);
-                    if (this.success) {
-                        this.form.updateRecord(this.model);
-                        this.fireEvent(
-                            'savesuccess',
-                            this,
-                            this.model,
-                            response);
-                        this.updateOnChange();
-                    }
-                    else {
-                        this.form.markInvalid(this.errors);
-                        this.fireEvent(
-                            'savefailure',
-                            this,
-                            this.model,
-                            response);
-                    }
-                },
-                scope: this
-            });
-        }
-    },
-
-    onModelLoadSuccess: function(record, operation) {
-        this.bindModel(record);
-        this.parseResponse(operation.response);
-        this.fireEvent('loadsuccess', this, record, operation);
-    },
-
-    onModelLoadFailure: function(record, operation) {
-        this.parseResponse(operation.response);
-        this.fireEvent('loadfailure', this, record, operation);
-    },
-
-    translateReturnCodes: function(codes) {
-        var translated = {};
-        for (var k in codes) {
-            translated[k] = Lada.getApplication().bundle.getMsg(codes[k]);
-        }
-        return translated;
-    },
-    /**
-     * Will set the form into readonly state.
-     * @param {Boolean} Flag to indicate if the form should be set to readonly
-     * or not.
-     * @param {Array} [ignoreFields="[]"] A list of fieldnames to ignore.
-     */
-    setReadOnly: function (bReadOnly, ignoreFields) {
-        if (typeof (ignoreFields) === 'undefined') {
-            ignoreFields = [];
-        }
-        /* Iterate over all fields and set them readonly */
-        if (bReadOnly) {
-            this.getForm().getFields().each(function (field) {
-                // Check if the field name is in the list of fields to ignore
-                var ignore = false;
-                var k;
-                for (k = ignoreFields.length - 1; k >= 0; k--) {
-                    if (ignoreFields[k] === field.getName(true)) {
-                        ignore = true;
-                    }
-                }
-                // field.setDisabled(bReadOnly);
-                if (!ignore) {
-                    field.setReadOnly(true);
-                }
-            });
-            /* Iterate over all toolbars of lists and hide them */
-            var childs = this.query('toolbar');
-            for (var i = childs.length - 1; i >= 0; i--) {
-                childs[i].setVisible(false);
-            }
-            /*
-             * Find Save-Button and hide it. Only hide it if there are not
-             * fields left in the form which are editable
-             * */
-            if (ignoreFields.length === 0) {
-                var win = this.up('window');
-                var buttons = win.query('.button');
-                for (var j = buttons.length - 1; j >= 0; j--) {
-                    if (buttons[j].text === 'Speichern') {
-                        buttons[j].setVisible(false);
-                    }
-                }
-            }
-        }
-    },
-
-    parseResponse: function(response) {
-        var json = Ext.decode(response.responseText);
-        if (json) {
-            this.success = json.success;
-            this.errors = this.translateReturnCodes(json.errors);
-            this.warnings = this.translateReturnCodes(json.warnings);
-            this.message = Lada.getApplication().bundle.getMsg(json.message);
-            if (!Ext.Object.isEmpty(this.warnings) ||
-                !Ext.Object.isEmpty(this.errors)) {
-                this.createMessages();
-            }
-        }
-        else {
-            this.setReadOnly(this.model.get('readonly'));
-        }
-    },
-
-    createMessages: function() {
-        var key;
-        for (key in this.warnings) {
-            var element = this.down('component[name=' + key + ']');
-            element.showWarnings(this.warnings[key]);
-        }
-        for (key in this.errors) {
-            var element = this.down('component[name=' + key + ']');
-            element.showErrors(this.errors[key]);
-        }
-    },
-
-    updateOnChange: function() {
-        console.log(this.isDirty());
-        var childs = this.query('toolbar');
-        for (var i = childs.length - 1; i >= 0; i--) {
-            if (childs[i].ownerCt.xtype === 'panel') {
-                if (this.isDirty()) {
-                    childs[i].down('button[action=discard]').enable();
-                    childs[i].down('button[action=save]').enable();
-                }
-                else {
-                    childs[i].down('button[action=discard]').disable();
-                    childs[i].down('button[action=save]').disable();
-                }
-            }
-            else {
-                var btn = childs[i].down('button[action=add]');
-                if (this.isDirty()) {
-                    btn.disable();
-                }
-                else {
-                    btn.enable();
-                }
-            }
-        }
-    }
-});
--- a/app/view/widgets/Messeinheit.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Messeinheit
- */
-Ext.define('Lada.view.widgets.Messeinheit', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.messeinheit',
-    store: 'StaMesseinheiten',
-    displayField: 'einheit',
-    valueField: 'id',
-    emptyText: 'Wählen Sie eine Messeinheit',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staMesseinheiten');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaMesseinheiten');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Messgroesse.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Messgroesse
- */
-Ext.define('Lada.view.widgets.Messgroesse', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.messgroesse',
-    store: 'StaMessgroessen',
-    displayField: 'messgroesse',
-    valueField: 'id',
-    emptyText: 'Wählen Sie eine Messgröße',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staMessgroessen');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaMessgroessen');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Messmethode.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Messmethode
- */
-Ext.define('Lada.view.widgets.Messmethode', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.messmethode',
-    store: 'StaMessmethoden',
-    displayField: 'display',
-    valueField: 'id',
-    emptyText: 'Wählen Sie eine Messmethode',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: true,
-    minChars: 0,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staMessmethoden');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaMessmethoden');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Mst.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Messstelle
- */
-Ext.define('Lada.view.widgets.Mst', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.mst',
-    store: 'StaMessstellen',
-    displayField: 'messStelle',
-    valueField: 'id',
-    emptyText: 'Wählen Sie eine Messstelle',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staMessstellen');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaMessstellen');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Netzbetreiber.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Netzbetreiber
- */
-Ext.define('Lada.view.widgets.Netzbetreiber', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.netzbetreiber',
-    store: 'StaNetzbetreiber',
-    displayField: 'netzbetreiber',
-    valueField: 'id',
-    emptyText: 'Wählen Sie einen Netzbetreiber',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staNetzbetreiber');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaNetzbetreiber');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Nwg.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-var nwgStore = Ext.create('Ext.data.Store', {
-    fields: ['nwgId', 'nwg'],
-    data: [{
-        'nwgId': '',
-        'nwg': '>='
-    }, {
-        'nwgId': '<',
-        'nwg': '<'
-    }]
-});
-
-/**
- * Combobox for Nachweisgrenze.
- */
-Ext.define('Lada.view.widgets.Nwg', {
-    extend: 'Ext.form.ComboBox',
-    editable: false,
-    alias: 'widget.nwg',
-    store: nwgStore,
-    queryMode: 'local',
-    displayField: 'nwg',
-    valueField: 'nwgId',
-    emptyText: 'Messwert kleiner als Nachweisgrenze?',
-
-    initComponent: function() {
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Ortdetail.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Ortdetails
- */
-Ext.define('Lada.view.widgets.Ortdetail', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.ortdetail',
-    displayField: 'bezeichnung',
-    valueField: 'id',
-    emptyText: 'Wählen Sie einen Ort',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staOrte');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaOrte');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Probenart.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Probenart
- */
-Ext.define('Lada.view.widgets.Probenart', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.probenart',
-    store: 'StaProbenarten',
-    displayField: 'probenart',
-    valueField: 'id',
-    emptyText: 'Wählen Sie eine Probenart',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staProbenarten');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaProbenarten');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Probenzusatzwert.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Zusatzwert
- */
-Ext.define('Lada.view.widgets.Probenzusatzwert', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.probenzusatzwert',
-    store: 'StaProbenzusaetze',
-    displayField: 'beschreibung',
-    valueField: 'id',
-    emptyText: 'Wählen Sie einen Zusatzwert',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staProbenzusaetze');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaProbenzusaetze');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Staat.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Staat
- */
-Ext.define('Lada.view.widgets.Staat', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.staat',
-    store: 'StaStaaten',
-    displayField: 'staat',
-    valueField: 'id',
-    emptyText: 'Wählen Sie einen Staat',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staStaaten');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaStaaten');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Statuswert.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-var statuswerteStore = Ext.create('Ext.data.Store', {
-    fields: ['id', 'status'],
-    data: [{
-        'id': 1,
-        'status': 'nicht vergeben'
-    }, {
-        'id': 2,
-        'status': 'plausibel'
-    }, {
-        'id': 3,
-        'status': 'nicht repräsentativ'
-    }, {
-        'id': 4,
-        'status': 'nicht plausibel'
-    }]
-});
-
-/**
- * Combobox for Statuswert
- */
-Ext.define('Lada.view.widgets.Statuswert', {
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.statuswert',
-    store: statuswerteStore,
-    displayField: 'status',
-    valueField: 'id',
-    emptyText: 'Wählen Sie eine Status',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-
-    initComponent: function() {
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Testdatensatz.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-var testdatensatzStore = Ext.create('Ext.data.Store', {
-    fields: ['testdatensatzId', 'testdatensatz'],
-    data: [{
-        'testdatensatzId': true,
-        'testdatensatz': 'Ja'
-    }, {
-        'testdatensatzId': false,
-        'testdatensatz': 'Nein'
-    }]
-});
-
-/**
- * Combobox for Testdatensatz.
- * This widget is also used a generic "Ja/Nein" combobox.
- */
-Ext.define('Lada.view.widgets.Testdatensatz', {
-    extend: 'Ext.form.ComboBox',
-    editable: false,
-    alias: 'widget.testdatensatz',
-    store: testdatensatzStore,
-    queryMode: 'local',
-    displayField: 'testdatensatz',
-    valueField: 'testdatensatzId',
-    emptyText: 'Testdatensatz?',
-
-    initComponent: function() {
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/TextField.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-Ext.define('Lada.view.widgets.TextField', {
-    extend: 'Ext.panel.Panel',
-    alias: 'widget.tfield',
-
-    layout: 'hbox',
-
-    border: 0,
-
-    initComponent: function() {
-        this.items = [{
-            xtype: 'image',
-            name: 'warnImg',
-            src: 'gfx/icon-warning.gif',
-            margin: '2, 5, 2, 5',
-            width: 16,
-            height: 16,
-            hidden: true
-        }, {
-            xtype: 'image',
-            name: 'errorImg',
-            src: 'gfx/icon-error.gif',
-            width: 16,
-            height: 16,
-            margin: '2, 5, 2, 5',
-            hidden: true
-        }, {
-            xtype: 'textfield',
-            flex: 1,
-            name: this.name,
-            maxLength: this.maxLength,
-            fieldLabel: this.fieldLabel,
-            labelWidth: this.labelWidth,
-            listeners: this.listeners
-        }];
-        this.callParent(arguments);
-    },
-
-    showWarnings: function(warnings) {
-        var img = this.down('image[name=warnImg]');
-        var field = this.down('textfield');
-        Ext.create('Ext.tip.ToolTip', {
-            target: img.getEl(),
-            html: warnings
-        });
-        field.setLabelWidth(field.labelWidth - 18);
-        img.show();
-    },
-
-    showErrors: function(errors) {
-        var img = this.down('image[name=errorImg]');
-        Ext.create('Ext.tip.ToolTip', {
-            target: img.getEl(),
-            html: errors
-        });
-        img.show();
-    }
-});
--- a/app/view/widgets/Uwb.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Umweltbereich
- */
-Ext.define('Lada.view.widgets.Uwb' ,{
-    extend: 'Ext.form.ComboBox',
-    alias: 'widget.uwb',
-    store: 'StaUmwelt',
-    displayField: 'id',
-    valueField: 'id',
-    emptyText: 'Wählen Sie einen Umweltbereich',
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'local',
-    triggerAction: 'all',
-    typeAhead: false,
-    minChars: 0,
-    tpl: '<tpl for="."><div class="x-combo-list-item  x-boundlist-item" >' +
-        '{id} - {umweltBereich}</div></tpl>',
-    // TODO: Set value in disply after selection. Can not figure out why
-    // accessing the recored.data attribute fails here (ti) <2013-08-06 16:52>
-    // listeners: {
-    //     select: function(combo, record, index) {
-    //         console.log("1");
-    //         console.log(record);
-    //         console.log("2");
-    //         var text = record.data['umwId'] +
-    //             " - " + record.data['umweltBereich'];
-    //         console.log("3");
-    //         Ext.form.ComboBox.superclass.setValue.call(this, text);
-    //         combo.value = record.id;
-    //     }
-    // },
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('staUmwelt');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaUmwelt');
-        }
-        this.callParent(arguments);
-    }
-});
--- a/app/view/widgets/Verwaltungseinheit.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/**
- * Combobox for Verwaltungseinheit
- */
-Ext.define('Lada.view.widgets.Verwaltungseinheit', {
-    extend: 'Ext.form.field.ComboBox',
-    alias: 'widget.verwaltungseinheiten',
-    store: 'StaVerwaltungseinheiten',
-    displayField: 'bezeichnung',
-    valueField: 'id',
-    emptyText: 'Wählen Sie eine Verwaltungseinheit',
-    hideTrigger: true,
-    // Enable filtering of comboboxes
-    autoSelect: false,
-    queryMode: 'remote',
-    triggerAction: 'type',
-    typeAhead: false,
-    minChars: 2,
-
-    initComponent: function() {
-        this.store = Ext.data.StoreManager.get('StaVerwaltungseinheiten');
-        if (!this.store) {
-            this.store = Ext.create('Lada.store.StaVerwaltungseinheiten');
-        }
-        this.callParent(arguments);
-    },
-    // This listener is used to load currently "selected" verwaltungseinheit.
-    // This is needed as without having this record the field would only
-    // display the raw value (id) of the verwaltungseinheit.
-    listeners: {
-        render: function(combo) {
-            combo.store.load({
-                id: this.getValue()
-            });
-        }
-    }
-});
--- a/app/view/zusatzwerte/Create.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Window to create and edit a Probenzusatzwert
- */
-Ext.define('Lada.view.zusatzwerte.Create', {
-    extend: 'Ext.window.Window',
-    alias: 'widget.zusatzwertecreate',
-
-    requires: [
-        'Lada.view.zusatzwerte.CreateForm'
-    ],
-
-    title: 'Maske für Zusatzwerte',
-    autoShow: true,
-    autoScroll: true,
-    modal: true,
-
-    initComponent: function() {
-        var form = Ext.create('Lada.view.zusatzwerte.CreateForm',
-            this.initialConfig);
-        this.buttons = [{
-            text: 'Speichern',
-            scope: form,
-            action: 'save'
-        }, {
-            text: 'Abbrechen',
-            scope: this,
-            handler: this.close
-        }];
-        this.items = [form];
-        this.callParent();
-    }
-});
--- a/app/view/zusatzwerte/CreateForm.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Formular to create and edit a Probenzusatzwert
- */
-Ext.define('Lada.view.zusatzwerte.CreateForm', {
-    extend: 'Lada.view.widgets.LadaForm',
-    requires: [
-        'Lada.view.widgets.Probenzusatzwert',
-        'Ext.layout.container.Column'
-    ],
-
-    model: 'Lada.model.Zusatzwert',
-
-    initComponent: function() {
-        this.items = [{
-            xtype: 'probenzusatzwert',
-            name: 'pzsId',
-            fieldLabel: 'PZW-Größe',
-            listeners: {
-                scope: this,
-                'change': function(field, newv, oldv) {
-                    var ffield = this.getForm().findField('messeinheit');
-                    var pzsId = newv;
-                    if (!pzsId) {
-                        pzsId = oldv;
-                    }
-                    ffield.setValue(this.model.getMesseinheit(pzsId));
-                }
-            }
-        }, {
-            layout: 'column',
-            border: 0,
-            items: [{
-                xtype: 'numberfield',
-                name: 'messwertPzs',
-                fieldLabel: 'Messwert'
-            }, {
-                xtype: 'displayfield',
-                name: 'messeinheit'
-            }]
-        }, {
-            xtype: 'numberfield',
-            name: 'messfehler',
-            fieldLabel: 'rel. Unsich.[%]'
-        }, {
-            xtype: 'numberfield',
-            name: 'nwgZuMesswert',
-            fieldLabel: 'Nachweisgrenze'
-        }];
-        this.callParent(arguments);
-    }
-});
--- a/app/view/zusatzwerte/List.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,118 +0,0 @@
-/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
- * Software engineering by Intevation GmbH
- *
- * This file is Free Software under the GNU GPL (v>=3)
- * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details.
- */
-
-/*
- * Grid to list Probenzusatzwerte
- */
-Ext.define('Lada.view.zusatzwerte.List', {
-    extend: 'Ext.grid.Panel',
-    alias: 'widget.zusatzwertelist',
-
-    store: 'Zusatzwerte',
-    viewConfig: {
-        maxHeight: 350,
-        emptyText: 'Keine Zusatzwerte gefunden.',
-        // minHeight and deferEmptyText are needed to be able to show the
-        // emptyText message.
-        minHeight: 65,
-        deferEmptyText: false
-    },
-
-    probeId: null,
-
-    initComponent: function() {
-        var rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
-            clicksToMoveEditor: 1,
-            autoCancel: false
-        });
-        this.plugins = [rowEditing];
-        this.dockedItems = [{
-            xtype: 'toolbar',
-            dock: 'bottom',
-            items: ['->', {
-                text: 'Details',
-                icon: 'gfx/document-open.png',
-                action: 'open',
-                disabled: true
-            }, {
-                text: 'Hinzufügen',
-                icon: 'gfx/list-add.png',
-                action: 'add',
-                probeId: this.probeId
-            }, {
-                text: 'Löschen',
-                icon: 'gfx/list-remove.png',
-                action: 'delete'
-            }]
-        }];
-        this.columns = [{
-            header: 'PZW-ID',
-            dataIndex: 'id',
-            editor: {
-                xtype: 'numberfield',
-                allowBlank: false
-            }
-        }, {
-            header: 'PZW-Größe',
-            dataIndex: 'pzsId',
-            renderer: function(value) {
-                var store = Ext.data.StoreManager.get('staProbenzusaetze');
-                var record = store.getById(value);
-                return record.get('beschreibung');
-            },
-            flex: 1,
-            editor: {
-                xtype: 'probenzusatzwert'
-            }
-        }, {
-            header: 'Messwert',
-            dataIndex: 'id',
-            renderer: function(value) {
-                var store = Ext.getStore('Zusatzwerte');
-                var record = store.getById(value);
-                var messwert = record.get('messwertPzs');
-                var nwg = record.get('nwgZuMesswert');
-                if (messwert < nwg) {
-                    return '<' + messwert;
-                }
-                return messwert;
-            }
-        }, {
-            header: 'rel. Unsich.[%]',
-            dataIndex: 'messfehler',
-            editor: {
-                allowBlank: false
-            }
-        }, {
-            header: 'Maßeinheit',
-            dataIndex: 'pzsId',
-            renderer: function(value) {
-                var zstore = Ext.data.StoreManager.get('staProbenzusaetze');
-                var mstore = Ext.data.StoreManager.get('staMesseinheiten');
-                var mehId = zstore.getById(value).get('mehId');
-                var record = mstore.findRecord('id', mehId);
-                return record.get('einheit');
-            }/*,
-            editor: {
-                xtype: 'messeinheit',
-                allowBlank: false
-            }*/
-        }];
-        this.callParent(arguments);
-    },
-    listeners: {
-        selectionchange: function(model, selected, eOpts) {
-            /*
-            * Enable the 'details' button only when an item is selected
-            */
-            if (selected.length > 0) {
-                this.down('button[action=open]').enable();
-            }
-        }
-    }
-});
Binary file gfx/dialog-cancel.png has changed
Binary file gfx/dialog-ok-apply.png has changed
Binary file gfx/document-open.png has changed
Binary file gfx/document-save-as-6.png has changed
Binary file gfx/icon-error.gif has changed
Binary file gfx/icon-warning.gif has changed
Binary file gfx/list-add.png has changed
Binary file gfx/list-remove.png has changed
Binary file gfx/lock_16x16.png has changed
Binary file gfx/minus.gif has changed
Binary file gfx/network-workgroup.png has changed
Binary file gfx/plus.gif has changed
Binary file gfx/svn-commit.png has changed
Binary file gfx/svn-update.png has changed
Binary file gfx/unlock_16x16.png has changed
Binary file gfx/user-identity.png has changed
Binary file gfx/user.png has changed
Binary file gfx/usergroup.png has changed
--- a/resources/Lada.properties	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-##
-# Error Codes
-##
-! General errors
-200: Kein Fehler
-601: Probe existiert bereits
-602: Objekt ist keine Probe
-603: Fehler in der Verbindung zur DB
-604: Fehler in der Validierung
-
-! Specific error messages
-611: Wert nicht eindeutig
-631: Wert nicht gesetzt
-632: Werte passen nicht zusammen
-651: Geo: Punkt nicht in Polygon
-652: Geo: Werte passen nicht zusammen
-661: Date: Datum liegt in der Zukunft
-662: Date: Anfang nach Ende
-699: Keine Berechtigung
-
-! Import errors
-670: Fehler beim parsen
-671: Objekt existiert bereits
-672: Doppelter Eintrag
-673: Fehlender Wert
-674: Fehler in Datum
--- a/resources/Lada_de-DE.properties	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-##
-# Error Codes
-##
-! General errors
-200: Kein Fehler
-601: Probe existiert bereits
-602: Objekt ist keine Probe
-603: Fehler in der Verbindung zur DB
-604: Fehler in der Validierung
-
-! Specific error messages
-611: Wert nicht eindeutig
-631: Wert nicht gesetzt
-632: Werte passen nicht zusammen
-651: Punkt nicht in Polygon
-652: Werte passen nicht zusammen
-661: Datum liegt in der Zukunft
-662: Anfang nach Ende
-698: Kein Zugriff
-699: Keine Berechtigung
-
-! Import error messages
-670: Fehler beim parsen
-671: Objekt existiert bereits
-672: Doppelter Eintrag
-673: Fehlender Wert
-674: Fehler in Datum
--- a/resources/datetime/UX_DateTimeField.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-Ext.define('Ext.ux.form.DateTimeField', {
-	  extend: 'Ext.form.field.Date',
-	  alias: 'widget.datetimefield',
-	  requires: ['Ext.ux.DateTimePicker'],
-
-	  initComponent: function() {
-		  this.format = this.format + ' ' + 'H:i:s';
-		  this.callParent();
-	  },
-	  // overwrite
-	  createPicker: function() {
-		  var me = this,
-			  format = Ext.String.format;
-
-		  return Ext.create('Ext.ux.DateTimePicker', {
-			    ownerCt: me.ownerCt,
-			    renderTo: document.body,
-			    floating: true,
-			    hidden: true,
-			    focusOnShow: true,
-			    minDate: me.minValue,
-			    maxDate: me.maxValue,
-			    disabledDatesRE: me.disabledDatesRE,
-			    disabledDatesText: me.disabledDatesText,
-			    disabledDays: me.disabledDays,
-			    disabledDaysText: me.disabledDaysText,
-			    format: me.format,
-			    showToday: me.showToday,
-			    startDay: me.startDay,
-			    minText: format(me.minText, me.formatDate(me.minValue)),
-			    maxText: format(me.maxText, me.formatDate(me.maxValue)),
-			    listeners: {
-				    scope: me,
-				    select: me.onSelect
-			    },
-			    keyNavConfig: {
-				    esc: function() {
-					    me.collapse();
-				    }
-			    }
-		    });
-	  }
-  });
\ No newline at end of file
--- a/resources/datetime/UX_DateTimeMenu.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-Ext.define('Ext.ux.DateTimeMenu', {
-	  extend: 'Ext.menu.Menu',
-	  
-	  alias: 'widget.datetimemenu',
-	  
-	  requires: ['Ext.ux.DateTimePicker'],
-	  
-	  hideOnClick: true,
-	  pickerId: null,
-	  
-	  initComponent: function() {
-		  var me = this;
-		  
-		  Ext.apply(me, {
-			    showSeparator: false,
-			    plain: true,
-			    border: false,
-			    bodyPadding: 0,
-			    items: Ext.applyIf({
-				      cls: Ext.baseCSSPrefix + 'menu-date-item',
-				      id: me.pickerId,
-				      xtype: 'datetimepicker'
-			      }, me.initialConfig)
-		    });
-		  
-		  me.callParent(arguments);
-		  
-		  me.picker = me.down('datetimepicker');
-		  me.relayEvents(me.picker, ['select']);
-		  
-		  if (me.hideOnClick) {
-			  me.on('select', me.hidePickerOnSelect, me);
-		  }
-	  },
-	  
-	  hidePickerOnSelect: function() {
-		  Ext.menu.Manager.hideAll();
-	  }
-  });
--- a/resources/datetime/UX_DateTimePicker.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-Ext.define('Ext.ux.DateTimePicker', {
-	  extend: 'Ext.picker.Date',
-	  alias: 'widget.datetimepicker',
-	  todayText: "Now",
-	  timeLabel: 'Time',
-	  requires: ['Ext.ux.form.TimePickerField'],
-
-	  initComponent: function() {
-		  // keep time part for value
-		  var value = this.value || new Date();
-		  this.callParent();
-		  this.value = value;
-	  },
-	  onRender: function(container, position) {
-		  if(!this.timefield) {
-			  this.timefield = Ext.create('Ext.ux.form.TimePickerField', {
-				    fieldLabel: this.timeLabel,
-				    labelWidth: 40,
-				    value: Ext.Date.format(this.value, 'H:i:s')
-			    });
-		  }
-		  this.timefield.ownerCt = this;
-		  this.timefield.on('change', this.timeChange, this);
-		  this.callParent(arguments);
-
-		  var table = Ext.get(Ext.DomQuery.selectNode('table', this.el.dom));
-		  var tfEl = Ext.core.DomHelper.insertAfter(table, {
-			    tag: 'div',
-			    style: 'border:0px;',
-			    children: [{
-				      tag: 'div',
-				      cls: 'x-datepicker-footer ux-timefield'
-			      }]
-		    }, true);
-		  this.timefield.render(this.el.child('div div.ux-timefield'));
-
-		  var p = this.getEl().parent('div.x-layer');
-		  if(p) {
-			  p.setStyle("height", p.getHeight() + 31);
-		  }
-	  },
-	  // listener 时间域修改, timefield change
-	  timeChange: function(tf, time, rawtime) {
-		  // if(!this.todayKeyListener) { // before render
-		  this.value = this.fillDateTime(this.value);
-		  // } else {
-		  // this.setValue(this.value);
-		  // }
-	  },
-	  // @private
-	  fillDateTime: function(value) {
-		  if(this.timefield) {
-			  var rawtime = this.timefield.getRawValue();
-			  value.setHours(rawtime.h);
-			  value.setMinutes(rawtime.m);
-			  value.setSeconds(rawtime.s);
-		  }
-		  return value;
-	  },
-	  // @private
-	  changeTimeFiledValue: function(value) {
-		  this.timefield.un('change', this.timeChange, this);
-		  this.timefield.setValue(this.value);
-		  this.timefield.on('change', this.timeChange, this);
-	  },
-
-	  /* TODO 时间值与输入框绑定, 考虑: 创建this.timeValue 将日期和时间分开保存. */
-	  // overwrite
-	  setValue: function(value) {
-		  this.value = value;
-		  this.changeTimeFiledValue(value);
-		  return this.update(this.value);
-	  },
-	  // overwrite
-	  getValue: function() {
-		  return this.fillDateTime(this.value);
-	  },
-
-	  // overwrite : fill time before setValue
-	  handleDateClick: function(e, t) {
-		  var me = this,
-			  handler = me.handler;
-
-		  e.stopEvent();
-		  if(!me.disabled && t.dateValue && !Ext.fly(t.parentNode).hasCls(me.disabledCellCls)) {
-			  me.doCancelFocus = me.focusOnSelect === false;
-			  me.setValue(this.fillDateTime(new Date(t.dateValue))); // overwrite: fill time before setValue
-			  delete me.doCancelFocus;
-			  me.fireEvent('select', me, me.value);
-			  if(handler) {
-				  handler.call(me.scope || me, me, me.value);
-			  }
-			  me.onSelect();
-		  }
-	  },
-
-	  // overwrite : fill time before setValue
-	  selectToday: function() {
-		  var me = this,
-			  btn = me.todayBtn,
-			  handler = me.handler;
-
-		  if(btn && !btn.disabled) {
-			  // me.setValue(Ext.Date.clearTime(new Date())); //src
-			  me.setValue(new Date());// overwrite: fill time before setValue
-			  me.fireEvent('select', me, me.value);
-			  if(handler) {
-				  handler.call(me.scope || me, me, me.value);
-			  }
-			  me.onSelect();
-		  }
-		  return me;
-	  }
-  });
--- a/resources/datetime/UX_TimePickerField.js	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,181 +0,0 @@
-/**
- * 时间输入框, 三个整数框分别输入时,分,秒.
- * @author wangzilong
- * update Ext - 4.1 2012/04/27
- */
-Ext.define('Ext.ux.form.TimePickerField', {
-	  extend: 'Ext.form.field.Base',
-	  alias: 'widget.timepicker',
-	  alternateClassName: 'Ext.form.field.TimePickerField',
-	  requires: ['Ext.form.field.Number'],
-
-	  // 隐藏BaseField的输入框 , hidden basefield's input
-	  inputType: 'hidden',
-
-	  style: 'padding:4px 0 0 0;margin-bottom:0px',
-
-	  /**
-	   * @cfg {String} value
-	   * initValue, format: 'H:i:s'
-	   */
-	  value: null,
-
-	  /**
-	  * @cfg {Object} spinnerCfg
-	  * 数字输入框参数, number input config
-	  */
-	  spinnerCfg: {
-		  width: 40
-	  },
-
-	  /** Override. */
-	  initComponent: function() {
-		  var me = this;
-
-		  me.value = me.value || Ext.Date.format(new Date(), 'H:i:s');
-
-		  me.callParent();// called setValue
-
-		  me.spinners = [];
-		  var cfg = Ext.apply({}, me.spinnerCfg, {
-			    readOnly: me.readOnly,
-			    disabled: me.disabled,
-			    style: 'float: left',
-			    listeners: {
-				    change: {
-					    fn: me.onSpinnerChange,
-					    scope: me
-				    }
-			    }
-		    });
-
-		  me.hoursSpinner = Ext.create('Ext.form.field.Number', Ext.apply({}, cfg, {
-			      minValue: 0,
-			      maxValue: 23
-		      }));
-		  me.minutesSpinner = Ext.create('Ext.form.field.Number', Ext.apply({}, cfg, {
-			      minValue: 0,
-			      maxValue: 59
-		      }));
-		  // TODO 使用timeformat 判断是否创建秒输入框, maybe second field is not always need.
-		  me.secondsSpinner = Ext.create('Ext.form.field.Number', Ext.apply({}, cfg, {
-			      minValue: 0,
-			      maxValue: 59
-		      }));
-
-		  me.spinners.push(me.hoursSpinner, me.minutesSpinner, me.secondsSpinner);
-
-	  },
-	  /**
-	      * @private
-	      * Override.
-	      */
-	  onRender: function() {
-		  var me = this, spinnerWrapDom, spinnerWrap;
-		  me.callParent(arguments);
-
-		  // render to original BaseField input td
-		  // spinnerWrap = Ext.get(Ext.DomQuery.selectNode('div', this.el.dom)); // 4.0.2
-		  spinnerWrapDom = Ext.dom.Query.select('td', this.getEl().dom)[1]; // 4.0 ->4.1 div->td
-		  spinnerWrap = Ext.get(spinnerWrapDom);
-		  me.callSpinnersFunction('render', spinnerWrap);
-
-		  Ext.core.DomHelper.append(spinnerWrap, {
-			    tag: 'div',
-			    cls: 'x-form-clear-left'
-		    });
-
-		  this.setRawValue(this.value);
-	  },
-
-	  _valueSplit: function(v) {
-		  if(Ext.isDate(v)) {
-			  v = Ext.Date.format(v, 'H:i:s');
-		  }
-		  var split = v.split(':');
-		  return {
-			  h: split.length > 0 ? split[0] : 0,
-			  m: split.length > 1 ? split[1] : 0,
-			  s: split.length > 2 ? split[2] : 0
-		  };
-	  },
-	  onSpinnerChange: function() {
-		  if(!this.rendered) {
-			  return;
-		  }
-		  this.fireEvent('change', this, this.getValue(), this.getRawValue());
-	  },
-	  // 依次调用各输入框函数, call each spinner's function
-	  callSpinnersFunction: function(funName, args) {
-		  for(var i = 0; i < this.spinners.length; i++) {
-			  this.spinners[i][funName](args);
-		  }
-	  },
-	  // @private get time as object,
-	  getRawValue: function() {
-		  if(!this.rendered) {
-			  var date = this.value || new Date();
-			  return this._valueSplit(date);
-		  } else {
-			  return {
-				  h: this.hoursSpinner.getValue(),
-				  m: this.minutesSpinner.getValue(),
-				  s: this.secondsSpinner.getValue()
-			  };
-		  }
-	  },
-
-	  // private
-	  setRawValue: function(value) {
-		  value = this._valueSplit(value);
-		  if(this.hoursSpinner) {
-			  this.hoursSpinner.setValue(value.h);
-			  this.minutesSpinner.setValue(value.m);
-			  this.secondsSpinner.setValue(value.s);
-		  }
-	  },
-	  // overwrite
-	  getValue: function() {
-		  var v = this.getRawValue();
-		  return Ext.String.leftPad(v.h, 2, '0') + ':' + Ext.String.leftPad(v.m, 2, '0') + ':'
-		    + Ext.String.leftPad(v.s, 2, '0');
-	  },
-	  // overwrite
-	  setValue: function(value) {
-		  this.value = Ext.isDate(value) ? Ext.Date.format(value, 'H:i:s') : value;
-		  if(!this.rendered) {
-			  return;
-		  }
-		  this.setRawValue(this.value);
-		  this.validate();
-	  },
-	  // overwrite
-	  disable: function() {
-		  this.callParent(arguments);
-		  this.callSpinnersFunction('disable', arguments);
-	  },
-	  // overwrite
-	  enable: function() {
-		  this.callParent(arguments);
-		  this.callSpinnersFunction('enable', arguments);
-	  },
-	  // overwrite
-	  setReadOnly: function() {
-		  this.callParent(arguments);
-		  this.callSpinnersFunction('setReadOnly', arguments);
-	  },
-	  // overwrite
-	  clearInvalid: function() {
-		  this.callParent(arguments);
-		  this.callSpinnersFunction('clearInvalid', arguments);
-	  },
-	  // overwrite
-	  isValid: function(preventMark) {
-		  return this.hoursSpinner.isValid(preventMark) && this.minutesSpinner.isValid(preventMark)
-		    && this.secondsSpinner.isValid(preventMark);
-	  },
-	  // overwrite
-	  validate: function() {
-		  return this.hoursSpinner.validate() && this.minutesSpinner.validate() && this.secondsSpinner.validate();
-	  }
-  });
\ No newline at end of file
--- a/server/rest/authinfo/7581036	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":{
-        "isOwner": true,
-        "readonly":false
-    },
-    "errors":{},
-    "warnings":{},
-    "readonly":false,
-    "totalCount":0
-}
--- a/server/rest/info	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "user":"testeins",
-        "groups":"06010",
-        "version":"1.0.1"
-    }]
-}
--- a/server/rest/kommentar_m	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":188253,
-        "messungsId":1,
-        "erzeuger":"06010",
-        "datum":1321005677000,
-        "text":"Dies ist ein kommentar zur messung 1"
-    },{
-        "id":188554,
-        "messungsId":2,
-        "erzeuger":"06010",
-        "datum":1321005682000,
-        "text":"Dies ist ein Kommentar zu messung 2"
-    },{
-        "id":202332,
-        "messungsId":4,
-        "erzeuger":"12020",
-        "datum":1334134920000,
-        "text":"Dies ist ein Kommentar zu messung 4"
-    }]
-}
--- a/server/rest/kommentar_p	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":188653,
-        "probeId":7581036,
-        "erzeuger":"06010",
-        "datum":1321005677000,
-        "text":"Die Probe wurde in Darmstadt gammaspektrometrisch gemessen und für die Sr-Bestimmung verascht. "
-    },{
-        "id":188654,
-        "probeId":"7581036",
-        "erzeuger":"06010",
-        "datum":1321005682000,
-        "text":"DWD-Station"
-    },{
-        "id":202132,
-        "probeId":"7581036",
-        "erzeuger":"12020",
-        "datum":1334134920000,
-        "text":"MLT 2                         /"
-    }]
-}
--- a/server/rest/messung	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":1,
-        "messungsIdAlt":"1",
-        "probeId":7581036,
-        "probeIdAlt":"000007589786X",
-        "mmtId":"GI",
-        "nebenprobenNr":"01G1",
-        "messdauer":73929,
-        "messzeitpunkt":1329139620000,
-        "fertig":true,
-        "letzteAenderung":1331536340000,
-        "geplant":true
-    },{
-        "id":2,
-        "messungsIdAlt":"2",
-        "probeId":7581036,
-        "probeIdAlt":"000007589787X",
-        "mmtId":"A2",
-        "nebenprobenNr":"01G1",
-        "messdauer":70898,
-        "messzeitpunkt":1333483200000,
-        "fertig":true,
-        "letzteAenderung":1334763744000,
-        "geplant":true
-    },{
-        "id":3,
-        "messungsIdAlt":"3",
-        "probeId":7581036,
-        "probeIdAlt":"000007589792X",
-        "mmtId":"GI",
-        "nebenprobenNr":"01G1",
-        "messdauer":42474,
-        "messzeitpunkt":1339609680000,
-        "fertig":true,
-        "letzteAenderung":1342107755000,
-        "geplant":true
-    },{
-        "id":4,
-        "messungsIdAlt":"4",
-        "probeId":7581036,
-        "probeIdAlt":"000007589799X",
-        "mmtId":"GI",
-        "nebenprobenNr":"01G1",
-        "messdauer":64222,
-        "messzeitpunkt":1333453560000,
-        "fertig":true,
-        "letzteAenderung":1334677346000,
-        "geplant":true
-    }]
-}
--- a/server/rest/messwert	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":123,
-        "messungsId":1,
-        "messgroesseId":62,
-        "messwertNwg":"<",
-        "messwert":1.234,
-        "messfehler":0.3,
-        "nwgZuMesswert":12,
-        "mehId":65,
-        "grenzwertueberschreitung":false,
-        "letzteAenderung":null
-    },{
-        "id":124,
-        "messungsId":1,
-        "messgroesseId":62,
-        "messwertNwg":"",
-        "messwert":2.234,
-        "messfehler":1.3,
-        "nwgZuMesswert":null,
-        "mehId":62,
-        "grenzwertueberschreitung":false,
-        "letzteAenderung":null
-    },{
-        "id":125,
-        "messungsId":1,
-        "messgroesseId":62,
-        "messwertNwg":"<",
-        "messwert":1.134,
-        "messfehler":2.3,
-        "nwgZuMesswert":null,
-        "mehId":63,
-        "grenzwertueberschreitung":false,
-        "letzteAenderung":null
-    },{
-        "id":126,
-        "messungsId":2,
-        "messgroesseId":96,
-        "messwertNwg":"<",
-        "messwert":1.224,
-        "messfehler":0.3,
-        "nwgZuMesswert":12,
-        "mehId":62,
-        "grenzwertueberschreitung":false,
-        "letzteAenderung":null
-    },{
-        "id":127,
-        "messungsId":2,
-        "messgroesseId":62,
-        "messwertNwg":"<",
-        "messwert":1.234,
-        "messfehler":0.3,
-        "nwgZuMesswert":12,
-        "mehId":65,
-        "grenzwertueberschreitung":false,
-        "letzteAenderung":null
-    },{
-        "id":128,
-        "messungsId":3,
-        "messgroesseId":62,
-        "messwertNwg":"<",
-        "messwert":1.234,
-        "messfehler":0.3,
-        "nwgZuMesswert":12,
-        "mehId":65,
-        "grenzwertueberschreitung":false,
-        "letzteAenderung":null
-    }]
-}
--- a/server/rest/ort	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":1,
-        "probeId":7581036,
-        "ortsTyp":"Z",
-        "ortszusatztext":null,
-        "letzteAenderung":1365514204750,
-        "ortId":86
-    },{
-        "id":201,
-        "probeId":7581036,
-        "ortsTyp":"Z",
-        "ortszusatztext":null,
-        "letzteAenderung":1365514204750,
-        "ortId":184
-    },{
-        "id":2,
-        "probeId":7581036,
-        "ortsTyp":"N",
-        "ortszusatztext":null,
-        "letzteAenderung":1365514204750,
-        "ortId":86
-    },{
-        "id":6,
-        "probeId":7581036,
-        "ortsTyp":"Z",
-        "ortszusatztext":null,
-        "letzteAenderung":1365514204750,
-        "ortId":106
-    }]
-}
--- a/server/rest/probe/7581036	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":7581036,
-        "probeIdAlt":"000007581036X",
-        "hauptprobenNr":"120224003",
-        "test":false,
-        "netzbetreiberId":"06",
-        "mstId":"06010",
-        "datenbasisId":2,
-        "baId":"1",
-        "probenartId":1,
-        "mediaDesk":"D: 59 04 01 00 05 05 01 02 00 00 00 00",
-        "media":"Trinkwasser Zentralversorgung Oberflächenwasser aufbereitet",
-        "umwId":"N72",
-        "probeentnahmeBeginn":null,
-        "probeentnahmeEnde":1328517000000,
-        "mittelungsdauer":null,
-        "letzteAenderung":1331279424000,
-        "erzeugerId":null,
-        "probeNehmerId":726,
-        "mpKat":"1",
-        "mplId":null,
-        "mprId":3748,
-        "solldatumBeginn":1328482800000,
-        "solldatumEnde":1329080399000,
-        "readonly":false
-    }],
-    "warnings": {
-        "probeentnahmeBeginn": "631"
-    },
-    "errors": {
-        "hauptprobenNr": "611"
-    }
-}
--- a/server/rest/probe/index.html	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":7581034,
-        "probeIdAlt":"000007581034X",
-        "hauptprobenNr":"120510002",
-        "test":false,
-        "netzbetreiberId":"06",
-        "mstId":"06010",
-        "datenbasisId":2,
-        "baId":"1",
-        "probenartId":1,
-        "mediaDesk":"D: 59 04 01 00 05 05 01 02 00 00 00 00",
-        "media":"Trinkwasser Zentralversorgung Oberflächenwasser aufbereitet",
-        "umwId":"N72",
-        "probeentnahmeBeginn":1336467600000,
-        "probeentnahmeEnde":null,
-        "mittelungsdauer":null,
-        "letzteAenderung":1339570306000,
-        "erzeugerId":null,
-        "probeNehmerId":726,
-        "mpKat":"1",
-        "mplId":null,
-        "mprId":3749,
-        "solldatumBeginn":1336341600000,
-        "solldatumEnde":1336939199000,
-        "readonly":true
-    },{
-        "id":7581036,
-        "probeIdAlt":"000007581036X",
-        "hauptprobenNr":"120224003",
-        "test":false,
-        "netzbetreiberId":"06",
-        "mstId":"06010",
-        "datenbasisId":2,
-        "baId":"1",
-        "probenartId":1,
-        "mediaDesk":"D: 59 04 01 00 05 05 01 02 00 00 00 00",
-        "media":"Trinkwasser Zentralversorgung Oberflächenwasser aufbereitet",
-        "umwId":"N72",
-        "probeentnahmeBeginn":1328517000000,
-        "probeentnahmeEnde":null,
-        "mittelungsdauer":null,
-        "letzteAenderung":1331279424000,
-        "erzeugerId":null,
-        "probeNehmerId":726,
-        "mpKat":"1",
-        "mplId":null,
-        "mprId":3748,
-        "solldatumBeginn":1328482800000,
-        "solldatumEnde":1329080399000,
-        "readonly":false
-    },{
-        "id":7581040,
-        "probeIdAlt":"000007581040X",
-        "hauptprobenNr":"120515001",
-        "test":false,
-        "netzbetreiberId":"06",
-        "mstId":"06010",
-        "datenbasisId":2,
-        "baId":"1",
-        "probenartId":1,
-        "mediaDesk":"D: 59 03 01 01 02 05 01 02 00 00 00 00",
-        "media":"Trinkwasser Zentralversorgung Grundwasser aufbereitet",
-        "umwId":"N71",
-        "probeentnahmeBeginn":1336640400000,
-        "probeentnahmeEnde":null,
-        "mittelungsdauer":null,
-        "letzteAenderung":1338376872000,
-        "erzeugerId":null,
-        "probeNehmerId":716,
-        "mpKat":"1",
-        "mplId":null,
-        "mprId":3746,
-        "solldatumBeginn":1336341600000,
-        "solldatumEnde":1336939199000,
-        "readonly":false
-    }]
-}
--- a/server/rest/query	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":1,
-        "name":"Kein Filter",
-        "description":"Abfrage der Proben ohne Filter",
-        "sql":"select probe_id, mst_id, umw_id from l_probe",
-        "filters":[],
-        "results":[{
-            "dataIndex":"probeIdAlt",
-            "header":"ProbeId",
-            "flex":0,
-            "width":100
-        },{
-            "dataIndex":"mstId",
-            "header":"MST",
-            "flex":0,
-            "width":100
-        },{
-            "dataIndex":"umwId",
-            "header":"Umweltbereich",
-            "flex":0,
-            "width":100
-        }]
-    }]
-}
--- a/server/rest/sta_datenbasis	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":9,
-        "beschreibung":"Europa",
-        "datenbasis":"Europa"
-    },{
-        "id":13,
-        "beschreibung":"SPARSE NETWORK",
-        "datenbasis":"SPARSE"
-    },{
-        "id":14,
-        "beschreibung":"DENSE NETWORK",
-        "datenbasis":"DENSE"
-    },{
-        "id":1,
-        "beschreibung":"§2-Daten",
-        "datenbasis":"§2"
-    },{
-        "id":2,
-        "beschreibung":"§3-Daten",
-        "datenbasis":"§3"
-    }]
-}
--- a/server/rest/sta_messeinheit	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":62,
-        "beschreibung":"Becquerel pro Kubikmeter",
-        "einheit":"Bq/m³",
-        "eudfMesseinheitId":"BQ/M3",
-        "umrechnungsFaktorEudf":null
-    },{
-        "id":67,
-        "beschreibung":"Becquerel pro Kilogramm Feuchtmasse",
-        "einheit":"Bq/kg(FM)",
-        "eudfMesseinheitId":"KBQ/KG",
-        "umrechnungsFaktorEudf":null
-    },{
-        "id":65,
-        "beschreibung":"Becquerel pro Kilogramm Trockenmasse",
-        "einheit":"Bq/kg(TM)",
-        "eudfMesseinheitId":null,
-        "umrechnungsFaktorEudf":null
-    },{
-        "id":97,
-        "beschreibung":"Kilo-Becquerel pro Quadratmeter",
-        "einheit":"kBq/m²",
-        "eudfMesseinheitId":"KBQ/M2",
-        "umrechnungsFaktorEudf":null
-    },{
-        "id":63,
-        "beschreibung":"Becquerel pro Liter",
-        "einheit":"Bq/l",
-        "eudfMesseinheitId":"BQ/L",
-        "umrechnungsFaktorEudf":null
-    }]
-}
--- a/server/rest/sta_messgroesse	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":56,
-        "beschreibung":"Mangan",
-        "messgroesse":"Mn 54",
-        "defaultFarbe":"175175075",
-        "idfNuklidKey":"Mn54",
-        "istLeitnuklid":"0",
-        "eudfNuklidId":50,
-        "kennungBvl":"1925054"
-    },{
-        "id":58,
-        "beschreibung":"Eisen",
-        "messgroesse":"Fe 52",
-        "defaultFarbe":null,
-        "idfNuklidKey":"Fe52",
-        "istLeitnuklid":"0",
-        "eudfNuklidId":null,
-        "kennungBvl":null
-    },{
-        "id":62,
-        "beschreibung":"Cobalt",
-        "messgroesse":"Co 55",
-        "defaultFarbe":null,
-        "idfNuklidKey":"Co55",
-        "istLeitnuklid":"0",
-        "eudfNuklidId":null,
-        "kennungBvl":null
-    },{
-        "id":72,
-        "beschreibung":"Nickel",
-        "messgroesse":"Ni 57",
-        "defaultFarbe":null,
-        "idfNuklidKey":"Ni57",
-        "istLeitnuklid":"0",
-        "eudfNuklidId":null,
-        "kennungBvl":null
-    },{
-        "id":96,
-        "beschreibung":"Gallium",
-        "messgroesse":"Ga 73",
-        "defaultFarbe":null,
-        "idfNuklidKey":"Ga73",
-        "istLeitnuklid":"0",
-        "eudfNuklidId":null,
-        "kennungBvl":null
-    }]
-}
--- a/server/rest/sta_messmethode	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":"GI",
-        "beschreibung":"",
-        "messmethode":"Iod, Gamma-Spektrometrie"
-    },{
-        "id":"AB",
-        "beschreibung":"",
-        "messmethode":"Gesamt-Alpha und Beta"
-    },{
-        "id":"A2",
-        "beschreibung":"",
-        "messmethode":"Gesamt-Alpha"
-    },{
-        "id":"A3",
-        "beschreibung":"",
-        "messmethode":"Gesamt-Alpha (Handmonitor)"
-    },{
-        "id":"A4",
-        "beschreibung":"",
-        "messmethode":"Gesamt-Alpha  verzögert"
-    }]
-}
--- a/server/rest/sta_messstelle	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":"06010",
-        "netzbetreiberId":"03",
-        "beschreibung":"Nds. Landesamt f. Verbraucherschutz und Lebensmittelsicherh., - Veterinärinstitut Hannover, Eintrachtweg 17, 30173 Hannover",
-        "messStelle":"nslm61",
-        "mstTyp":"M",
-        "amtskennung":"032005"
-    },{
-        "id":"03060",
-        "netzbetreiberId":"03",
-        "beschreibung":"Niedersächsischer Landesbetrieb für Wasserwirtschaft, Küsten- und Naturschutz (NLWKN), -Betriebsstelle Hannover-Hildesheim-, Geschäftsber. III/Aufgabenber. V, Postfach 10 10 62, 31110 Hildesheim",
-        "messStelle":"nslm21",
-        "mstTyp":"M",
-        "amtskennung":null
-    },{
-        "id":"03070",
-        "netzbetreiberId":"03",
-        "beschreibung":"Landwirtschaftliche Untersuchungs- und Forschungsanstalt, der Landwirtschaftskammer Weser/Ems, Postfach 25 49, 26015 Oldenburg",
-        "messStelle":"nslm71",
-        "mstTyp":"M",
-        "amtskennung":null
-    },{
-        "id":"03080",
-        "netzbetreiberId":"03",
-        "beschreibung":"Nds. Landesamt f. Verbraucherschutz und Lebensmittelsicherh., - Lebensmittelinstitut Oldenburg, Postfach 24 62, 26014 Oldenburg",
-        "messStelle":"nslm51",
-        "mstTyp":"M",
-        "amtskennung":"032002"
-    },{
-        "id":"03090",
-        "netzbetreiberId":"03",
-        "beschreibung":"Nds. Landesamt f. Verbraucherschutz und Lebensmittelsicherh., - Veterinärinstitut für Fische und Fischwaren, Schleusenstr., 27472 Cuxhaven",
-        "messStelle":"nslm41",
-        "mstTyp":"M",
-        "amtskennung":"032003"
-    }]
-}
--- a/server/rest/sta_netzbetreiber	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":"X",
-        "netzbetreiber":"ausl. Messnetze",
-        "idfNetzbetreiber":null,
-        "isBmn":"1",
-        "mailverteiler":"X",
-        "aktiv":"1",
-        "zustMstId":null
-    },{
-        "id":"PA",
-        "netzbetreiber":"Park",
-        "idfNetzbetreiber":"R",
-        "isBmn":"1",
-        "mailverteiler":"PA",
-        "aktiv":"1",
-        "zustMstId":null
-    },{
-        "id":"A",
-        "netzbetreiber":"BfS (Spuren)",
-        "idfNetzbetreiber":"A",
-        "isBmn":"1",
-        "mailverteiler":"A",
-        "aktiv":"1",
-        "zustMstId":null
-    },{
-        "id":"B",
-        "netzbetreiber":"vTI",
-        "idfNetzbetreiber":null,
-        "isBmn":"1",
-        "mailverteiler":"B",
-        "aktiv":"1",
-        "zustMstId":null
-    },{
-        "id":"D",
-        "netzbetreiber":"BfS/ZdB",
-        "idfNetzbetreiber":"D",
-        "isBmn":"1",
-        "mailverteiler":"D",
-        "aktiv":"1",
-        "zustMstId":null
-    }]
-}
--- a/server/rest/sta_ort	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":86,
-        "bezeichnung":"STW0601",
-        "beschreibung":"Twistetalsperre; Naturschutzgebiet",
-        "unscharf":"0",
-        "nutsCode":"DE736",
-        "koordXExtern":"3503940",
-        "koordYExtern":"5691980",
-        "hoeheLand":null,
-        "letzteAenderung":1365513788263,
-        "latitude":51.36254,
-        "longitude":9.05552,
-        "otyp":"Z",
-        "staatId":282,
-        "gemId":"09575143"
-    },{
-        "id":201,
-        "bezeichnung":"SMG1101",
-        "beschreibung":"Müggelsee; Berlin; PE-Stelle Nr. 41035",
-        "unscharf":"0",
-        "nutsCode":"DE300",
-        "koordXExtern":"4612000",
-        "koordYExtern":"5812000",
-        "hoeheLand":null,
-        "letzteAenderung":1365513788263,
-        "latitude":52.4298,
-        "longitude":13.64516,
-        "otyp":"Z",
-        "staatId":282,
-        "gemId":"09575143"
-    },{
-        "id":184,
-        "bezeichnung":"FSP0092",
-        "beschreibung":"Spree km 9,20; PE-Stelle Nr. 11002, Einmündung Landwehrkanal",
-        "unscharf":"0",
-        "nutsCode":"DE300",
-        "koordXExtern":"4599000",
-        "koordYExtern":"5822000",
-        "hoeheLand":null,
-        "letzteAenderung":1365513788263,
-        "latitude":52.52214,
-        "longitude":13.45707,
-        "otyp":"Z",
-        "staatId":287,
-        "gemId":"09575143"
-    },{
-        "id":106,
-        "bezeichnung":"SBR1201",
-        "beschreibung":"Brieskower See; Brieskow-Finkenheerd",
-        "unscharf":"0",
-        "nutsCode":"DE40C",
-        "koordXExtern":"33471086",
-        "koordYExtern":"5789746",
-        "hoeheLand":null,
-        "letzteAenderung":1365513788263,
-        "latitude":52.25734,
-        "longitude":14.57639,
-        "otyp":"Z",
-        "staatId":282,
-        "gemId":"09575143"
-    }]
-}
--- a/server/rest/sta_pflichtmessgroesse	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":1234,
-        "messgroesseId":404,
-        "mmtId":"G1",
-        "umwId":"A",
-        "datenbasisId":2
-    },{
-        "id":234,
-        "messgroesseId":369,
-        "mmtId":"G1",
-        "umwId":"A",
-        "datenbasisId":2
-    },{
-        "id":123,
-        "messgroesseId":340,
-        "mmtId":"G1",
-        "umwId":"A",
-        "datenbasisId":2
-    },{
-        "id":134,
-        "messgroesseId":220,
-        "mmtId":"G1",
-        "umwId":"A",
-        "datenbasisId":2
-    }]
-}
--- a/server/rest/sta_probenart	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":1,
-        "beschreibung":"Einzelprobe",
-        "probenart":"E",
-        "probenartEudfId":"A"
-    },{
-        "id":2,
-        "beschreibung":"Mischprobe",
-        "probenart":"M",
-        "probenartEudfId":"A"
-    },{
-        "id":3,
-        "beschreibung":"Sammelprobe",
-        "probenart":"S",
-        "probenartEudfId":"A"
-    },{
-        "id":9,
-        "beschreibung":"kontinuierliche Probe",
-        "probenart":"X",
-        "probenartEudfId":"A"
-    }]
-}
--- a/server/rest/sta_probenzusatz	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":"A74",
-        "mehId":"62",
-        "beschreibung":"Volumenstrom",
-        "zusatzwert":"VOLSTR",
-        "eudfKeyword":null
-    },{
-        "id":"A75",
-        "mehId":"63",
-        "beschreibung":"A00-Horizont",
-        "zusatzwert":"A00-HZT",
-        "eudfKeyword":null
-    },{
-        "id":"A76",
-        "mehId":"65",
-        "beschreibung":"A0-Horizont",
-        "zusatzwert":"A0-HZT",
-        "eudfKeyword":null
-    },{
-        "id":"A77",
-        "mehId":"63",
-        "beschreibung":"A1-Horizont",
-        "zusatzwert":"A1-HZT",
-        "eudfKeyword":null
-    },{
-        "id":"A78",
-        "mehId":"62",
-        "beschreibung":"B-Horizont",
-        "zusatzwert":"B-HZT",
-        "eudfKeyword":null
-    }]
-}
--- a/server/rest/sta_staat	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":282,
-        "staat":"Tansania",
-        "hklId":282,
-        "staatIso":"TZ",
-        "staatKurz":"EAT",
-        "eu":"0",
-        "koordXExtern":"35,7497",
-        "koordYExtern":"-6,167",
-        "kdaId":4,
-    },{
-        "id":287,
-        "staat":"Ägypten",
-        "hklId":287,"staatIso":"EG",
-        "staatKurz":"ET",
-        "eu":"0",
-        "koordXExtern":"31,2272",
-        "koordYExtern":"30,0571",
-        "kdaId":4,
-    },{
-        "id":295,
-        "staat":"Britisch abhängige Gebiete in Afrika",
-        "hklId":295,
-        "staatIso":"-",
-        "staatKurz":"-",
-        "eu":"0",
-        "koordXExtern":null,
-        "koordYExtern":null,
-        "kdaId":null
-    }]
-}
--- a/server/rest/sta_umwelt	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":"L6",
-        "beschreibung":null,
-        "umweltBereich":"Spurenmessung Luft",
-        "mehId":62
-    },{
-        "id":"I19",
-        "beschreibung":null,
-        "umweltBereich":"Gras (REI)",
-        "mehId":67
-    },{
-        "id":"L61",
-        "beschreibung":null,
-        "umweltBereich":"Spurenmessung Luft - Aerosole",
-        "mehId":62
-    },{
-        "id":"L62",
-        "beschreibung":null,
-        "umweltBereich":"Spurenmessung Luft - gasförmige Komponenten (einschl. Iod)",
-        "mehId":62
-    },{
-        "id":"L63",
-        "beschreibung":null,
-        "umweltBereich":"Spurenmessung Luft - Edelgase",
-        "mehId":62
-    }]
-}
--- a/server/rest/sta_verwaltungseinheit/09575143	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":"09575143",
-        "bundesland":"09000000",
-        "kdaId":5,
-        "kreis":"09575000",
-        "nuts":"DE25A09575",
-        "regbezirk":"09500000",
-        "bezeichnung":"Marktbergel",
-        "isBundesland":"0",
-        "isGemeinde":"1",
-        "isLandkreis":"0",
-        "isRegbezirk":"0",
-        "koordXExtern":"32598985",
-        "koordYExtern":"5477447",
-        "plz":null,
-        "longitude":10.36545,
-        "latitude":49.44162
-    }]
-}
--- a/server/rest/sta_verwaltungseinheit/index.html	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":"09575134",
-        "bundesland":"09000000",
-        "kdaId":5,
-        "kreis":"09575000",
-        "nuts":"DE25A09575",
-        "regbezirk":"09500000",
-        "bezeichnung":"Ippesheim",
-        "isBundesland":"0",
-        "isGemeinde":"1",
-        "isLandkreis":"0",
-        "isRegbezirk":"0",
-        "koordXExtern":"32588490",
-        "koordYExtern":"5495240",
-        "plz":null,
-        "longitude":10.2247,
-        "latitude":49.60325
-    },{
-        "id":"09575135",
-        "bundesland":"09000000",
-        "kdaId":5,
-        "kreis":"09575000",
-        "nuts":"DE25A09575",
-        "regbezirk":"09500000",
-        "bezeichnung":"Ipsheim",
-        "isBundesland":"0",
-        "isGemeinde":"1",
-        "isLandkreis":"0",
-        "isRegbezirk":"0",
-        "koordXExtern":"32607382",
-        "koordYExtern":"5486943",
-        "plz":null,
-        "longitude":10.48382,
-        "latitude":49.52558
-    },{
-        "id":"09575143",
-        "bundesland":"09000000",
-        "kdaId":5,
-        "kreis":"09575000",
-        "nuts":"DE25A09575",
-        "regbezirk":"09500000",
-        "bezeichnung":"Marktbergel",
-        "isBundesland":"0",
-        "isGemeinde":"1",
-        "isLandkreis":"0",
-        "isRegbezirk":"0",
-        "koordXExtern":"32598985",
-        "koordYExtern":"5477447",
-        "plz":null,
-        "longitude":10.36545,
-        "latitude":49.44162
-    }]
-}
--- a/server/rest/status	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":0,
-        "erzeuger":"11010",
-        "messungsId":1,
-        "status":3,
-        "datum":1414758806000,
-        "kommentar":"ikguig"
-    }]
-}
--- a/server/rest/zusatzwert	Thu Dec 18 16:52:45 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-{
-    "success":true,
-    "message":"200",
-    "data":[{
-        "id":123,
-        "pzsId":"A76",
-        "probeId":7581036,
-        "messwertPzs":13.0,
-        "messfehler":30.0,
-        "nwgZuMesswert":null,
-        "letzteAenderung":1341898845000
-    },{
-        "id":234,
-        "pzsId":"A77",
-        "probeId":7581036,
-        "messwertPzs":13.0,
-        "messfehler":30.0,
-        "nwgZuMesswert":null,
-        "letzteAenderung":1341898845000
-    }]
-}

http://lada.wald.intevation.org