Tuesday, October 28, 2014

Image.wrap( ImageElement) does not work - assert error

Hello,
   Does anyone know why I cannot use "Image.wrap" with an "ImageElement"?  it is failing on the "assert Document.get().getBody().isOrHasChild(element);" at the start of the "wrap" method.  This is a brand new element, not attached to anything yet.
   My ultimate goal is to convert the ImageElement to the widget Image so that I can add it to a Panel.  Am I even doing the right thing?

Tony

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment