Here is the relevant code...
in the Hook.js on the 'PortalMenu' rendered event,
this obviously calls the init and onLaunch functions on the 'exportController',
as you can see this then creates the 'exportWindow' or 'WMS.util.export.view.Window'. In this window we create a 'form' with a 'tabPanel' and it is when the 'tabPanel' is being created we are getting the error that I mentioned.
I have seen a similar error in another on the posts on the forum - http://cnxforum.com/showthread.php?1...g-Login-Window - I have tried the steps suggested in this post but it seems to prevent the Hook.js from working...
in the Hook.js on the 'PortalMenu' rendered event,
Code:
exportController = Portal.getApplication().getController('WMS.util.export.controller.Main'); exportController.init(); exportController.onLaunch();
Code:
init: function() { this.control({ '#exportCancelButton': { click: this.onClickCloseWindow }, '#initExportButton': { click: this.onExportButtonClick }, '#pdfRadioButton': { change: this.onFormatSelected }, '#xlsxRadioButton': { change: this.onFormatSelected } }); }
Code:
onLaunch: function() { var columnStore = Ext.create('WMS.util.export.store.Column'); Ext.create('WMS.util.export.store.PageSize'); Ext.create('WMS.util.export.store.PageOrientation'); // Subscribe to datachanged event to automatically update the item selector; columnStore.on({ datachanged: this.onDataChange, scope: this }); return Ext.create('WMS.util.export.view.Window'); }
Code:
xtype: 'form', itemId: 'exportForm', layout: 'fit', items: [{ xtype: 'tabpanel', bodyPadding: 10, defaults: { layout: 'fit', style: { padding: '10px' } }, deferredRender: false, height: 200, itemId: 'exporttabpanel', layout: 'fit', tabPosition: 'left', tabBar: { cls: 'wms-vertical-tabbar' }, items: [{...
Comment