Monday, December 12, 2016

Re: How to make sure object is set before initWidget()

Hello,

It does not work like this, I've already tried. It says "Error: java.lang.AssertionError: This UIObject's element is not set; you may be missing a call to either Composite.initWidget() or UIObject.setElement()" because my class extends Composite (I forgot to mention it). Like it is looking for the initWidget() method before executing the entire rpc call... 

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