Hey all,
I've created my own custom widget by extending Composite.
I'm using UIBinder and trying to add my component like so:
But I get this error:
Can anyone help me out?
I've created my own custom widget by extending Composite.
I'm using UIBinder and trying to add my component like so:
Code:
<sc:UIHLayout ui:field="hlyLicenseManagementLayout" width="100%" height="100%" membersMargin="15">
<uc:LicenseDetailControl ui:field="ucLicenseDetailControl" />
</sc:UIHLayout>Code:
public class LicenseDetailControl extends Composite implements HasHTML{
private static LicenseDetailControlUiBinder uiBinder = GWT.create(LicenseDetailControlUiBinder.class);
interface LicenseDetailControlUiBinder extends UiBinder<Widget, LicenseDetailControl> { /**/ }
@UiConstructor
public LicenseDetailControl() {
initWidget(uiBinder.createAndBindUi(this));
}
}Code:
12:17:12.832 [ERROR] [iportal] Expecting only widgets in <sc:UIHLayout height='100%' membersMargin='15' ui:field='hlyLicenseManagementLayout' width='100%'>: <uc:LicenseDetailControl ui:field='ucLicenseDetailControl'> (:55)