| Summary: | Cannot append children element for box defined in widget | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | fahua jin <jinfahua> | ||||
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> | ||||
| Status: | CLOSED INVALID | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | hjiyong, pfyu, svihovec | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
fahua jin
Created attachment 208896 [details]
The sample project.
I believe this is working as designed.
function Button1_onClick(event Event in)
TestWeidget TestWeidget{};
TestWeidget.test();
end
The TestWeidget instance is never being appended to the document, so I would not expect its internal box to be displayed.
Does the following change resolve the issue?
function Button1_onClick(event Event in)
TestWeidget TestWeidget{};
TestWeidget.test();
Box.appendChildren([TestWeidget]);
end
Brian, you're right.Thanks. But we'll still have some test cases for test the widgets in M1 testing, because it has not been carefully tested in EDT 0.7. Close the defect. |