The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

TLCinAction (32) [Avatar] Offline
#1
I expanded the final application and added an accordion and tabpanel to include 2 forms within one cardpanel layout.

I am getting an error that this el.dom is undefined when the cardpanel renders.

The error is thrown from the FormPanelBaseCls. My assumption is that the underlying clearForm in the baseclass only recognizes the main form in the first tab.

Any thoughts on how to get around this? Should I pull the BaseCls code up to the form level?


,clearFormPanel : function() {
var grids = this.getComponent('mastergrids');
var tabs = this.getComponent('poTabs');
grids.getComponent('poList').getSelectionModel().clearSelections();
grids.getComponent('poShipped').getSelectionModel().clearSelections();
tabs.getComponent('poEntryForm').clearForm();
tabs.getComponent('poEntryForm').clearForm();
// Ext.getCmp('poShipForm').clearForm();
jesus.garcia (463) [Avatar] Offline
#2
Re: Added TabPanel to forms in final application; Clearform function error
are the tabs a subclass of the FormPanelBaseCls?