| Summary: | Wrong code generated for EGLProperty in eze$$getChildVariables | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Yun Feng Ma <mayunf> | ||||
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | greer, jspadea | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 202379 [details]
Patch
Here is a patch, please review it. Thanks a lot.
Justin, This looks like dev mode logic; can you take a look at the patch and commit it if warranted? Thanks! Looks like this patch has been committed. Justin, FYI. Thanks. Verified with build 20111020. close this. |
Build Identifier: For a Field in a Widget, like below: text String{@EGLProperty{setMethod = setText, getMethod = getText}, @VEProperty{}}; The generated codes in eze$$getChildVariables are wrong, below are the generated codes: "eze$$getChildVariables": function() { var eze$$parent = this; return [ {name: "text", value : function(){try{return eze$$parent., "getText": function() { return text; } ;}catch(e){return e;}}(), type : "eglx.lang.EString", jsName : "text"} ]; } Reproducible: Always