Stefan
Stefan

Reputation: 11

UiBinder Placeholder

how can I create a placeholder with in the UiBInder, to later fill it with e.g. a Tree element? (Like the Flextable, but simpler).

Regards, Stefan

Upvotes: 1

Views: 1143

Answers (1)

Riley Lark
Riley Lark

Reputation: 20890

<g:SimplePanel ui:field="panelForTree" />

Then, in Java:

@UiField protected SimplePanel panelForTree;

...

panelForTree.setWidget(theTreeYouMadeLater);

Upvotes: 7

Related Questions