Sizing 2.2.x components in a 3.x container with WidgetComponent
I'm attempting to layout 2.2.x components using 3.x containers. This article implies that this should be possible by wrapping the 2.2.x components with a GXT 3 WidgetComponent:
While this works for simple cases, if a child widget is wrapped in a WidgetComponent more than once, an exception is thrown by Widget.removeFromParent() because WidgetComponent doesn't implement HasWidgets. The same thing would happen if you instantiated more than one GWT or GXT Composite type using the same widget instance.
This isn't a problem with GXT 2.2.x's WidgetComponent, since it invokes ComponentHelper.removeFromParent(), which explicitly checks if the parent type is a WidgetComponent.
Is there a way to work around this issue, or is it an oversight that needs to be fixed?