GWT uibinder composite

Posted by Han Fastolfe on Stack Overflow See other posts from Stack Overflow or by Han Fastolfe
Published on 2010-05-17T15:23:11Z Indexed on 2010/05/17 15:31 UTC
Read the original article Hit count: 432

Filed under:
|
|

I'm creating a composite uibinder widget with a Label and a TextBox.

The intented use is:

<x:XTextBox ui:field="fieldName" label="a caption" >
    The text to be put in the box.
</x:XTextBox>

I've found how to catch the label with a custom @UiConstructor constructor, I might add another parameter to the constructor, but I would like to know how to get the text from the xml, just like the GWT tag <g:Label>a caption</g:Label> does.

Any help is greatly appreciated.

© Stack Overflow or respective owner

Related posts about gwt

Related posts about composite