Your getValue will break if value is null (because the instanceof will all be false). You should probably use an explicit typing to drive conversions. Maybe just even an enum that you could pass to the UiConstructor, or specialized subclasses (similar to IntegerBox, DoubleBox, etc.)
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Post a Comment