| Summary: | The handler cannot be opened if adding ZeroFormat to the variable definition | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | fahua jin <jinfahua> | ||||
| Component: | EDT | Assignee: | Justin Spadea <jspadea> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jspadea | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
You forgot to attach the file. I tried a scenario with an int field zeroFormat=yes and zeroFormat=no and had no problems. Created attachment 206853 [details]
The sample EGL file.
(In reply to comment #1) > You forgot to attach the file. I tried a scenario with an int field > zeroFormat=yes and zeroFormat=no and had no problems. I attached the file, and the problem is still existed in 0.7.0.v201111110901. Fixed MVCTemplate.java to only look for internal libraries when @MVC is used. Verified in 0.7.0.v201111130901. |
Build Identifier: 0.7.0.v201111071403 Open the attached H1.egl with VE, and view it in the external web browser, following error information is print. Could not render UI () H1.js?contextKey=45:7 () egl.js:801 () H1.html?contextKey=45:80 ([object Array],(function () {egl.localeInfo = {locale: "zh_CN", nlsCode: "CHS", shortMask: "yyyy-MM-dd", mediumMask: "yyyy-MM-dd", longMask: "MM-dd-yyyy", currencySymbol: "\uFFFD\uFFFD", decimalSeparator: ".", groupingSeparator: ","};try {egl.handleIDEEvent();egl.rootHandler = new (egl.client.H1);if (egl.rootHandler.targetWidget || !egl.rootHandler.egl$isWidget) {egl.rootHandler.setParent(egl.Document);} else {var package = egl.rootHandler.eze$$package;var typename = egl.rootHandler.eze$$typename;egl.rootHandler = egl.Document;egl.rootHandler.eze$$package = package;egl.rootHandler.eze$$typename = typename;}egl.startup();} catch (e) {egl.crashTerminateSession();if (!egl.client.H1) {egl.println("Internal generation error. Found no definition for client.H1. Try Project > Clean...", e);} else {egl.printError("Could not render UI", e);throw e;}}})) H1.html?contextKey=45:54 () H1.html?contextKey=45:52 ([object Event]) H1.html?contextKey=45:40 egl.org.eclipse.edt.rui.mvc.InternalNumericFormatter is not a constructor [CRRUI2094E] 以下是导致此错误的 EGL 函数调用: H1.<init>() [native JavaScript] () at line 7 egl.org.eclipse.edt.rui.mvc.InternalNumericFormatter is not a constructor DragDropTest/client/H1.js?contextKey=45:7 [CRRUI2095E] 未能找到导致此错误的 EGL 函数调用 Reproducible: Always