This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Baseline.lib.BaseController = Ext.extend(Ext.util.Observable, { | |
| view: null, | |
| constructor: function(dispatch_object) { | |
| Ext.apply(this, dispatch_object); | |
| this.view = new this.view(this); | |
| Baseline.lib.BaseController.superclass.constructor.call(this, dispatch_object); | |
| this.doAction(dispatch_object); | |
| }, | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Baseline.lib.CrudController = Ext.extend(Baseline.lib.BaseController, { | |
| model: '', | |
| pluralize: '', | |
| singularize: '', | |
| constructor: function(dispatch_object, config) { | |
| Ext.apply(this, config || {}); | |
| Baseline.lib.CrudController.superclass.constructor.call(this, dispatch_object, config); | |
| this.addEvents( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Baseline.lib.CarsView = Ext.extend(Baseline.lib.WindowView, { | |
| aeId : 'car', | |
| initComponent: function() { | |
| this.grid = ActiveExt.get(this.aeId).grid; | |
| var store_name = new Ext.data.JsonStore({ | |
| url: '/manufacturers', | |
| // reader configs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Baseline.lib.BaseController = Ext.extend(Ext.util.Observable, { | |
| view: null, | |
| constructor: function(dispatch_object) { | |
| Ext.apply(this, dispatch_object); | |
| Baseline.lib.BaseController.superclass.constructor.call(this, dispatch_object); | |
| this.doAction(dispatch_object); | |
| }, | |
| getView: function() { |