Hi all
As GWT is adding widgets in Horizontal panel, in the same way I want
to get element in my composite widgets so that I can manage their
layout in onAttach means I want to get label and html in RComposite
widget's on attach.
ui.xml
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:my='urn:import:gwt.testui.client'>
<my:RCompositeWidget>
<g:Label>My Widgets</g:Label>
<g:HTML>in a row</g:HTML>
</my:RCompositeWidget>
</ui:UiBinder>
-->RCompositeWidget
public class RCompositeWidget extends Composite {
public RCompositeWidget() {
HorizontalPanel hp = new HorizontalPanel();
initWidget(hp);
}
}
But I am getting following exception:
In com.google.gwt.uibinder.rebind.xmlelemen...@870aad, found
unexpected child "<g:Label>"
Regards
Rick
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.