GWT: use the same UI template for multiple pages?
- by janya
Hello,
how can I use the same UI template (*.ui.xml file) with multiple Java objects extending from Composite?
I need to build several pages that should display basically the same information with the same layout, but on one page some fields will be editable, and on a different page other fields will be editable. I would like to specify layout only once in ui.xml, and create different behaviors in different *.java classes.
Eclipse is giving me a 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