Comment by ray.ryan: I could imagine wanting to do this, though. Suppose I'm making a bit of UI that needs a dialog to show up on occasion. Having it in my main ui.xml seems natural and convenient.
The main thing fighting this is our current insistence that there is a single root element in ui.xml file. If we relaxed that, you could create something like: <ui:UiBinder ...> <g:HTMLPanel field='root'> ... </g:HTMLPanel> <g:DialogBox field='dialog'> ... </g:DialogBox> </ui:UiBinder> Makes me wish that createAndBindUi returned void. 2.1? For more information: http://code.google.com/p/google-web-toolkit/wiki/UiBinder --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
