Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367688 - Cannot append children element for box defined in widget
Summary: Cannot append children element for box defined in widget
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-01 08:45 EST by fahua jin CLA
Modified: 2017-02-23 14:18 EST (History)
3 users (show)

See Also:


Attachments
The sample project. (21.03 KB, application/x-zip)
2012-01-01 08:46 EST, fahua jin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description fahua jin CLA 2012-01-01 08:45:01 EST
Build Identifier: EDT 0.7 GA build

Please setup the attached projects, and open the H1.egl with VE. 

If you click the "Call function in handler" button, then the widget can be appended into the Box. Invoke the same logic defined in the widget, nothing happened. 

Reproducible: Always
Comment 1 fahua jin CLA 2012-01-01 08:46:00 EST
Created attachment 208896 [details]
The sample project.
Comment 2 Brian Svihovec CLA 2012-01-12 15:06:35 EST
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
Comment 3 fahua jin CLA 2012-01-12 19:35:06 EST
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.
Comment 4 fahua jin CLA 2012-01-12 19:35:21 EST
Close the defect.