Monday, December 21, 2015

Re: GWT Asynchronous callback and UI



On Monday, December 21, 2015 at 2:12:50 PM UTC+2, Paul Robinson wrote:
You appear to be adding an item without also creating that item. That suggests the item already exists, and is possibly already displayed. You can't have the same widget appearing more than once. That may be your problem.

Paul



Paul, thank you for hint. I have checked the source code once again and found that my *Service and *ServiceAsync have different return types. Changing type in one place I have forgot to change in another and thus callback function actually didn't fire. After fixing it - I was able to add object to UI in asych. callback.

--
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