<?php //load partial files code... based on DB service module name. //in this case it should be in service name=>main and will load js code from _ETFS_main.php Etva::loadServicesPartials($etva_server); ?> <script> Ext.ns('ETFS'); /* * .View * * Build all panels. Entry point for module * */ ETFS.View = function(config) { Ext.apply(this,config); console.log(this); //load services ID from BD var conn = new Ext.data.Connection({ listeners:{ // wait message..... beforerequest:function(){ Ext.MessageBox.show({ title: <?php echo json_encode(__('Please wait...')); ?> ,