How can I use the same user interface template (* .ui.xml file) with multiple Java objects extending from Composite?
I need to create several pages that should display basically the same information with the same layout, but on one page some fields will be editable, and on the other page other fields will be available. I would like to specify the layout only once in ui.xml and create different types of behavior in different * .java classes.
Eclipse gives me the syntax error "FirstAppUI.ui.xml is missing" on
@UiTemplate("Template.ui.xml") public class FirstAppUI extends Composite { interface FirstAppUIUiBinder extends UiBinder<Widget, FirstAppUI> { } }
thanks! Jane Prusakova
source share