Monday, April 24, 2017

Re: GWT Editor with Custom Composites

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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment