PHP Classes

File: libs/Raptor/Component/systemBundle/Views/ui/templates/controller/controller-empty.js.twig

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Raptor/Component/systemBundle/Views/ui/templates/controller/controller-empty.js.twig   Download  
File: libs/Raptor/Component/systemBundle/Views/ui/templates/controller/controller-empty.js.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change: Fix the call to a protected UI interface
Date: 8 years ago
Size: 875 bytes
 

Contents

Class file image Download
Ext.define('{{name}}.controller.Generic', { extend: 'Ext.app.Controller', stores: ['Generic'], models: ['GenericModel'], refs: [], init: function() { this.control({ 'genericwindow button[action=save]': { click: this.addAction }, 'viewport':{ render:this.onRender } }); }, onRender:function(){ //Make Raptor control the UI to activate the privilege //Raptor.controlActions(); }, onListSelect: function() { }, onListDeSelect: function() { }, onAddAction: function() { var view = Ext.widget('genericwindow'); }, addAction:function(button){ var win=button.up('window'); } });