UILabel address = find("address", UILabel.class);
address.bindText(BindHelper.bindBoundBeanProperty("address", infoBinding, ServerInfo.class, String.class));
UILabel port = find("port", UILabel.class);
port.bindText(new IntToStringBinding(BindHelper.bindBoundBeanProperty("port", infoBinding, ServerInfo.class, int.class)));
WidgetUtil.trySubscribe(this, "add", new ActivateEventListener() {
@Override
public void onActivated(UIWidget button) {
getManager().pushScreen(AddServerPopup.ASSET_URI);