Sha256: acea0ce4d009ee7ad024c9d1cfbea3e4b7c9ecbd145051b999950fc363f51d26

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

Ext.define('<%= app_name %>.view.<%= singular_table_name %>.UpdateWindow', {
	extend: '<%= app_name %>.ux.window.UpdateWindow',
	
	model: '<%= app_name %>.model.<%= singular_table_name.capitalize %>',
	formItemId: '<%= singular_table_name %>UpdateForm',
	
	initComponent: function() {
		this.items = this.buildItems();
		this.callParent(arguments);
	},
	
	buildItems: function() {
		var me = this;
		return [
			{
				xtype: '<%= singular_table_name %>updateform',
				itemId: me.formItemId
			}
		];
	}
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
extjs_scaffold-0.2.1 lib/generators/extjs_scaffold/scaffold_controller/templates/js/UpdateWindow.js
extjs_scaffold-0.2.0 lib/generators/extjs_scaffold/scaffold_controller/templates/js/UpdateWindow.js
extjs_scaffold-0.1.1 lib/generators/extjs_scaffold/scaffold_controller/templates/js/UpdateWindow.js