Currently it is set to false, but when I try and set to true (so I can load one section when the page loads) the screen itself will not show up.
reinsurerDetailFormDefaults: {
_constructor: isc.DynamicForm,
autoParent: "formContainer",
width: 1,
height: 1,
canEdit: false,
wrapItemTitles: false,
dataSource: "rscReacctBillingDetails"
},
editStackDefaults: {
_constructor: isc.SectionStack,
autoParent: "formContainer",
visibilityMode: "multiple",
width: "100%",
height: 1,
overflow: "visible",
expandSection: function () {
this.Super("expandSection", arguments);
this.panel.rowChanged();
},
sections: [
{title:"Company", expanded:false, items: ['autoChild:companyGrid'] },
{title:"Billing Information", expanded:false, items: ['autoChild:billingInformationGrid'] },
{title:"Rating History", expanded:false, items: ['autoChild:ratingHistoryControlButtonLayout', 'autoChild:ratingHistoryControlButtonLayoutSpacer','autoChild:ratingHistoryGrid']},
{title:"Certifications", expanded:false, items: ['autoChild:certificationsControlButtonLayout', 'autoChild:certificationsControlButtonLayoutSpacer','autoChild:certificationsGrid'] },
{title:"Authorization", expanded:false, items: ['autoChild:authorizationControlButtonLayout', 'autoChild:authorizationControlButtonLayoutSpacer','autoChild:authorizationGrid'] },
{title:"Name History", expanded:false, items: ['autoChild:nameHistoryGrid'] },
{title:"Contacts", expanded:false, items: ['autoChild:contactsControlButtonLayout', 'autoChild:contactsControlButtonLayoutSpacer','autoChild:contactsGrid'] }
]
},
initWidget : function() {
this.Super("initWidget", arguments);
this.addAutoChild("myListGrid", {panel: this});
this.addAutoChild("controlButtonLayout");
this.addAutoChild("formContainer");
this.addMember(isc.LayoutSpacer.create({height: "*"}));
this.addAutoChild("saveButton", {panel: this});
this.addAutoChild("newButton", {panel: this});
this.addAutoChild("editButton", {panel: this});
this.addAutoChild("deleteButton", {panel: this});
this.addAutoChild("importButton", {panel: this});
this.addAutoChild("controlButtonLayoutSpacer", {panel: this});
this.addAutoChild("reinsurerDetailForm", {panel: this});
this.addAutoChild("editStack", {panel: this});
This is the error in the Developer Console:
*19:50:04.342:MUP2:WARN:Log:TypeError: this.panel.rowChanged is not a function
Stack from error.stack:
_3.expandSection() @ javascript/bodyPanels/ReinsurersPanel.js:126:24
_3.isc_SectionStack_addSections()
_3.isc_SectionStack_initWidget()
_3.isc_Canvas_init()
_3.isc_Class_createAutoChild()
_3.isc_Class_addAutoChild()
_3.initWidget() @ javascript/bodyPanels/ReinsurersPanel.js:420:15
_3.isc_Canvas_init()
_3.isc_Class_completeCreation()
_3.isc_c_Class_create()
_3.setBodyPanel() @ javascript/MainLayout.js:46:41
_3.nodeClick() @ javascript/NavigationSidebar.js:48:20
_3.isc_TreeGrid_rowClick()
_3.eval()
_3.isc_GridRenderer__rowClick()
_3.isc_c_Class_invokeSuper()
_3.isc_c_Class_Super()
_3.isc_GridBody__rowClick()
_3.isc_GridRenderer_click()
_3.isc_c_Class_invokeSuper()
_3.isc_c_Class_Super()
_3.isc_TreeGridBody_click()
_3.isc_Canvas_handleClick()
_3.isc_c_EventHandler_bubbleEvent()
_3.isc_c_EventHandler_handleClick()
_3.isc_c_EventHandler__handleMouseUp()
_3.isc_c_EventHandler_handleMouseUp()
_3.isc_c_EventHandler_dispatch()
HTMLDocument.eval()
reinsurerDetailFormDefaults: {
_constructor: isc.DynamicForm,
autoParent: "formContainer",
width: 1,
height: 1,
canEdit: false,
wrapItemTitles: false,
dataSource: "rscReacctBillingDetails"
},
editStackDefaults: {
_constructor: isc.SectionStack,
autoParent: "formContainer",
visibilityMode: "multiple",
width: "100%",
height: 1,
overflow: "visible",
expandSection: function () {
this.Super("expandSection", arguments);
this.panel.rowChanged();
},
sections: [
{title:"Company", expanded:false, items: ['autoChild:companyGrid'] },
{title:"Billing Information", expanded:false, items: ['autoChild:billingInformationGrid'] },
{title:"Rating History", expanded:false, items: ['autoChild:ratingHistoryControlButtonLayout', 'autoChild:ratingHistoryControlButtonLayoutSpacer','autoChild:ratingHistoryGrid']},
{title:"Certifications", expanded:false, items: ['autoChild:certificationsControlButtonLayout', 'autoChild:certificationsControlButtonLayoutSpacer','autoChild:certificationsGrid'] },
{title:"Authorization", expanded:false, items: ['autoChild:authorizationControlButtonLayout', 'autoChild:authorizationControlButtonLayoutSpacer','autoChild:authorizationGrid'] },
{title:"Name History", expanded:false, items: ['autoChild:nameHistoryGrid'] },
{title:"Contacts", expanded:false, items: ['autoChild:contactsControlButtonLayout', 'autoChild:contactsControlButtonLayoutSpacer','autoChild:contactsGrid'] }
]
},
initWidget : function() {
this.Super("initWidget", arguments);
this.addAutoChild("myListGrid", {panel: this});
this.addAutoChild("controlButtonLayout");
this.addAutoChild("formContainer");
this.addMember(isc.LayoutSpacer.create({height: "*"}));
this.addAutoChild("saveButton", {panel: this});
this.addAutoChild("newButton", {panel: this});
this.addAutoChild("editButton", {panel: this});
this.addAutoChild("deleteButton", {panel: this});
this.addAutoChild("importButton", {panel: this});
this.addAutoChild("controlButtonLayoutSpacer", {panel: this});
this.addAutoChild("reinsurerDetailForm", {panel: this});
this.addAutoChild("editStack", {panel: this});
This is the error in the Developer Console:
*19:50:04.342:MUP2:WARN:Log:TypeError: this.panel.rowChanged is not a function
Stack from error.stack:
_3.expandSection() @ javascript/bodyPanels/ReinsurersPanel.js:126:24
_3.isc_SectionStack_addSections()
_3.isc_SectionStack_initWidget()
_3.isc_Canvas_init()
_3.isc_Class_createAutoChild()
_3.isc_Class_addAutoChild()
_3.initWidget() @ javascript/bodyPanels/ReinsurersPanel.js:420:15
_3.isc_Canvas_init()
_3.isc_Class_completeCreation()
_3.isc_c_Class_create()
_3.setBodyPanel() @ javascript/MainLayout.js:46:41
_3.nodeClick() @ javascript/NavigationSidebar.js:48:20
_3.isc_TreeGrid_rowClick()
_3.eval()
_3.isc_GridRenderer__rowClick()
_3.isc_c_Class_invokeSuper()
_3.isc_c_Class_Super()
_3.isc_GridBody__rowClick()
_3.isc_GridRenderer_click()
_3.isc_c_Class_invokeSuper()
_3.isc_c_Class_Super()
_3.isc_TreeGridBody_click()
_3.isc_Canvas_handleClick()
_3.isc_c_EventHandler_bubbleEvent()
_3.isc_c_EventHandler_handleClick()
_3.isc_c_EventHandler__handleMouseUp()
_3.isc_c_EventHandler_handleMouseUp()
_3.isc_c_EventHandler_dispatch()
HTMLDocument.eval()
Comment