Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363390

Summary: Error dropping RadioGroup
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Xiao Bin Chen <xiaobinc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: chenzhh
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-11-09 16:36:13 EST
Drop a RadioGroup on a RUIHandler.
Get:

Could not render UI
Result of expression 'egl.egl.javascript' [undefined] is not an object.
[CRRUI2094E] Here are the EGL function calls leading to this error:

    org/eclipse/edt/rui/widgets/RadioGroup.egl() at line 96
    client/testing.egl() at line 18
    testing.<init>() [native JavaScript]


handler testing type RUIhandler{initialUI =[ui
            ], onConstructionFunction = start, cssFile = "css/myRUIproject.css", title = "testing"}

    ui GridLayout{columns = 3, rows = 4, cellPadding = 4, children = [ RadioGroup ]};
    RadioGroup RadioGroup{ layoutData = new GridLayoutData{ row = 1, column = 1 },options = [ "soda", "coffee", "tea" ], groupName = "groupName", selected = "coffee"};

    function start()
    end
end
Comment 1 Xiao Bin Chen CLA 2011-11-09 21:23:27 EST
This was caused by another defect, and it's ok in the new build, I have verify it in 0.7.0.v201111092101.

If It occurs again please reopen it.

Thanks.
Comment 2 broy2 CLA 2011-11-10 10:23:16 EST
Verified in 20111110 build.