I have a widget "MyWidgetSuperClass  extends Composite" that has an
UiBinder backed layout. And I have a "MyWidgetSubClass extends
MyWidgetSuperClass".

Now I can do

Button myButton; // this line alone doesn't brake anything
MyWidgetSubClass() {
   widgetFieldOf_MyWidgetSuperClass.add(new Label("name")); // <<<
works
   widgetFieldOf_MyWidgetSuperClass.add(myButton); // <<< fails here
}

to add new content to MyWidgetSubClass but adding a new field
(myButton) fails — why?

And is it also possible to extend MyWidgetSubClass.ui.xml adding new
elements to the existing XML layout and accessing them in
MyWidgetSubClass.java?

-Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to