Thank You, do you know if its possible to use GWT Image type with your approach ? in other words, the image itself is not coming from a URL, it is a GWT Image object. http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Image.html
On Jan 16, 6:03 am, ailinykh <[email protected]> wrote: > This is what I do > > @UiField > Hyperlink imageLink; > > ... > String imgStr="<img src='"+url+"'/>"; > imageLink.setHTML(imgStr); > > Andrey > > On Jan 15, 4:25 pm, zixzigma <[email protected]> wrote: > > > g:InlineHyperLink, g:HyperLink and g:Anchor cannot contain an element > > if I'm correct. > > > do you know how we can then wrap an image inside a hyperlink, > > other than the approach below? > > > <g:HTMLPanel> > > <a href="#mail/starred"> > > Home > > <g:Image resource="{res.homeIcon}" /> > > </a> > > </g:HTMLPanel> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
