Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363844

Summary: Custom widgets with overwritten getChildren method not rendered
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: 1.5 M4   
Hardware: All   
OS: All   
Whiteboard:

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.