view app/view/Viewport.js @ 56:133fa41d3fe8

Removed storeId. Is not needed and used anywhere.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 29 May 2013 15:18:32 +0200
parents 4040d384d6b3
children 19eab475bbe5
line wrap: on
line source
Ext.define('Lada.view.Viewport' ,{
    extend: 'Ext.container.Viewport',
    requires: [
        'Lada.view.search.List',
        'Lada.view.search.Query1',
        'Lada.view.search.Query2',
        'Lada.view.proben.List',
        'Lada.view.proben.Edit'
    ],
    initComponent: function() {
        console.log('Setting up Viewport');
        this.items = {
            xtype: 'panel',
            title: '<center>Probenauswahlmaske</center>',
            bodyPadding: '10 10',
            items: [
                // Auswahl einer Abfrage.
                {
                    xtype: 'queryselector',
                    margin: '0 0 10 0'
                },
                // Variables settings for the current selected sql statement.
                {
                    id: 'query1',
                    xtype: 'query1',
                    hidden: true
                },
                {
                    id: 'query2',
                    xtype: 'query2',
                    hidden: true

                },
                {
                    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: true

                },
                // Buttons to trigger the search.
                // Resultlist for the query.
                {
                    id: 'result',
                    xtype: 'probenlist',
                    hidden: true
                }
            ]
        };
        this.callParent(arguments);
    }
});

http://lada.wald.intevation.org