Community
Participate
Working Groups
Build Identifier: 20110907 nightly build When add a declaration to RUI handler, the visual editor design view doesn't show anything. Reproducible: Always Steps to Reproduce: 1. Create a RUI handler 2. Drag & Drop a button to gridlayout 3. Switch to source view, move the button code before gridlayout code(this was a bug). 4. Back to design view, the VE works well 5. Switch to source view ana add code "d date;" to declare a date variable. 6. Back to design view, the VE doesn't work.
This is caused by JS Generator problem: Could not render UI TypeError: Cannot call method 'currentDate' of undefined at [object Object].eze$$setInitial (H2.js:47:50) at new (H2.js:5:9) at [object Object].eze$$thisClass (egl.js:800:27) at H2.html?contextKey=13:77:22 at Function.eze$$loadScripts (H2.html?contextKey=13:53:3) at H2.html?contextKey=13:51:43 at HTMLScriptElement. (H2.html?contextKey=13:39:4) Cannot call method 'currentDate' of undefined [CRRUI2094E] Here are the EGL function calls leading to this error: Widget.Widget.getStyle() [native JavaScript] Widget.Widget.setDisplayStyle() [native JavaScript] Uncaught TypeError: Cannot call method 'currentDate' of undefined Test/com/H2.html?contextKey=13:95 [CRRUI2095E] Could not find the EGL function calls leading to this error
Fixed.
verified in 20110929