nikhilbchilwant / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
1 stars 1 forks source link

Nullable UiField #247

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you want to see this feature/enhancement implemented, please star this
issue by clicking on the star in the upper left hand corner of this page.

== Enhancement Description ==
A flag to UiField to make it nullable. The field is set to null if it is
not found in the XML file. 

Example:

public class MyWidget extends UIObject {
..
  @UiField(nullable=true)
  Widget widget1;
..
}

The absence of the field definition will set the field (widget1) to null.
If present, the field is populated as is usual.

Original issue reported on code.google.com by birmi...@gmail.com on 7 Mar 2009 at 1:53