The wrap methods expect an element that is already attached to the dom. In your case, why not create the Image widget directly? On Oct 28, 2014 8:14 PM, "Tony B" <[email protected]> wrote:
> Tried that - got assert error on "assert > Document.get().getBody().isOrHasChild(element);" at start of wrap method ( > see my other post here > <https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/CACHoELySTI> > for a post on this topic ). The "wrap" method not working is part of the > reason why I am so confused as it is the most logical solution. > > > On Tuesday, October 28, 2014 1:03:25 PM UTC-4, Jens wrote: >> >> Image.wrap(ImageElement) >> >> -- J. >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
