If I have the following class com.mywebapp.client.ui.MyWidget:
public class MyWidget extends Composite {
interface MyWidgetUiBinder extends UiBinder<Widget, MyWidget>{}
private static MyWidgetUiBinder uiBinder = GWT.create(MyWidgetUiBinder.class);
...
}
And it's corresponding UiBinder:
<!-- MyWidgetUiBinder.ui.xml -->
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<!-- ... -->
</ui:UiBinder>
Then:
- Where (what package or folder) does
MyWidgetUiBinder.ui.xmlgo? Does GWT allow you to make this configurable or does it require that you place it somewhere specifically? - How granular should UiBinder snippets be? For every Widget? For every display region? 1 per "page"/screen?
Thanks in advance!