| Summary: | Datagrid throws an exception in the eze$$setInitial because there is an undefined delagate | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Joseph Vincens <jvincens> |
| Component: | EDT | Assignee: | Project Inbox <edt.widgets-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | greer, hjiyong, svihovec, tww |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
This problem does not exist in build 201109262101. DataGrid is still broken due to several bugs such as compile 355765 js runtime 357992 jsgen 358994,358996 I no longer see this issue. |
When a new DataGrid is created the eze$$setInitial method is called in the constructor. eze$$setInitial() calls setShowButtonBar() calls render() calls this.dataIsAvailable() calls this.dataLoader() throws undefined exception dataLoader is a delagate If you look at the DataGrid definition dataLoader is defined after the setShowButtonBar so dataLoader is not defined. ShowButtonBar is defined as: showButtonBar boolean{@EglProperty, @VEProperty{default = "true"}} = true; ....... dataLoader DataLoader = fullyCached; I looked at what RBD did. RBD did not obey the @EGLProperty when it set the deafult value for the showButtonBar object. RBD did this.showButtonBar = true; EDT is obeying the @EglProperty annotation on showButtonBar and is calling the setShowButtonBar(true) to set the default value. setShowButtonBar sets the value and then calls render() which causes the problem.