Community
Participate
Working Groups
Build Identifier: 0.7.0.v201109192102 1) Open H6.egl in attached project with RUI editor, and you can see VE works fine. 2) Remove the comments from line 30 to 32. 3) Switch back to the Design pane, the VE is a blank page. If do not add the external type widgets into the box, the VE works. This is also maybe a problem of JS generator. Reproducible: Always
Created attachment 204134 [details] The sample project.
Created attachment 205090 [details] screen shot
If open the handler in extra browser shown in screen shot, you will fond that it is a JS Gen defect, so change to owner to Scott.
This may have been fixed indirectly, but at this point it looks like the remaining issues are with the test case. The .js file for SimpleDiv should have the following content at the top: egl.defineWidget( 'org.eclipse.samplewidget', 'SimpleDiv', // this class 'eglx.ui.rui', 'Widget', // the super class 'div', // dom element type name { "constructor" : function() { this.eze$$DOMElement.style.backgroundColor="yellow"; this.eze$$DOMElement.innerHTML = "My default text values"; }, note that defineClass has become defineWidget, a super class has been added, a widget type (div) has been added, and the document.createElement line was removed from the constructor.
defer for now, but see the comment above that this is likely a test case problem. Need to correct the testcase & rerun, and hopefully close this defect.
The sample should change according Brian in comment 4. After making the change, the problem is gone.
Verified in 0.8.0.v201201150902-1CT-Fiv5_M5_LOPfUa4.