Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363844 - Custom widgets with overwritten getChildren method not rendered
Summary: Custom widgets with overwritten getChildren method not rendered
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 11:30 EST by Tim Buschtoens CLA
Modified: 2011-11-19 07:29 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2011-11-15 11:30:31 EST
When creating a custom widget composed of other widgets, it is desriable to overwrite getChildren to prevent application developers from accessing widget-internals. However, when this is done in RAP, the internal widgets will not be rendered to the client.
Comment 1 Ralf Sternberg CLA 2011-11-19 07:29:39 EST
Fixed by obtaining children from the Composite's ControlHolder in WidgetTreeVisitor instead of calling getChildren directly.