App.Telefonliste.View = function(){
    
    // begin public
    return{
        
        wakeup: function(id){
           App.setTrace('App.Telefonliste.View.wakeup');
           
           if(!this.WindowContent){
               
               this.MyContent = Telefonliste_Reuse_Grundformular();
               
               this.WindowContent = true;
               
               this.changeOptions(); 
               this.buildWindow.add(this.MyContent);
               
               
           } 
            
           this.buildWindow.show();
            
           Ext.getCmp('Telefonliste_ViewForm').getForm().load({
               url: 'frontend/controler/app.php',
               params: {
                   modul: 'telefonliste_view',
                   aktion: 'laden',
                   id: id
               }
           });
            
            
            
           return;
            
        }, // end wakeup
        
        MyContent: {},
        
        WindowContent: false,
        
        changeOptions: function(){
            App.setTrace('App.Telefonliste.View.changeOptions');
            
            this.MyContent = Ext.apply(this.MyContent,{
                id: 'Telefonliste_ViewForm',
                defaultType: 'displayfield',
                defaults: {
                    cls: 'viewDisplayfield'
                }
                
            });
            
            
            return;
        }, // end options
        
        buildWindow: new Ext.Window({
            title: 'vorhandener Eintrag',
            width: 500,
            x: 120,
            y: 85,
            iconCls: 'icon-telefonliste_view',
            modal: true,
            id: 'Telefonliste_View',
            draggable: true,
            resizable: false,
            closeAction: 'hide',
            autoHeight: true,
            // height: 400,
            closeAction: 'hide',
            shadow: false
        }) // end window

    } // end public
    
}();
