Skip to content

Instantly share code, notes, and snippets.

@jstrachan
Created March 9, 2010 10:32
Show Gist options
  • Save jstrachan/326467 to your computer and use it in GitHub Desktop.
Save jstrachan/326467 to your computer and use it in GitHub Desktop.
public abstract class PersonFormModelSupport extends Composite {
@UiField
FieldModel<Boolean> likesCheese = fieldOfType(Boolean.class).boundTo(someBean, "cheeseLover");
@UiField
FieldModel<String> whyILikeCheese = fieldOfType(String.class).boundTo(someBean, "reasonForLi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment