What steps will reproduce the problem?
CustomUIBinder not running with Version 1.2, GWT 2.4 and GXT 2.2.5
GWT.xml
<module rename-to="engine">
<inherits name="com.extjs.gxt.ui.GXT" />
<inherits name="com.jhickman.web.gwt.customuibinder.CustomUiBinder" />
</module>
Jars:
gwt-customuibinder-1.2.0.jar
gxt-2.2.5-gwt22.jar
gwt-servlet.jar
gwt-log-3.1.5.jar
UILogin.ui.xml
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder
xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:gxt="urn:import:com.extjs.gxt.ui.client.widget">
<gxt:LayoutContainer>
<gxt:ContentPanel>
<gxt:Label text="I should be centered" />
</gxt:ContentPanel>
</gxt:LayoutContainer>
</ui:UiBinder>
UILogin.java
import com.extjs.gxt.ui.client.widget.Component;
import com.extjs.gxt.ui.client.widget.Composite;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
public class UILogin extends Composite {
interface Binder extends UiBinder<Component, UILogin> {}
private static Binder BINDER = GWT.create(Binder.class);
public UILogin() {
initComponent(BINDER.createAndBindUi(this));
}
}
[DEBUG] [engine] - Rebinding xxxx.gwt.ui.UILogin.Binder
[DEBUG] [engine] - Invoking generator com.google.gwt.uibinder.rebind.CustomUiBinderGenerator
[ERROR] [engine] - Found unexpected child element Element <gxt:ContentPanel> (:9)
-------------
Are changes in the XML or something that is not in the wiki?
Original issue reported on code.google.com by markus.u...@googlemail.com on 7 Dec 2011 at 10:24
Original issue reported on code.google.com by
markus.u...@googlemail.com
on 7 Dec 2011 at 10:24