Tuesday, January 24, 2012

Re: HELP.. ADDING IMAGE TO PushButton.

I m also using the same as told by Thomas,It works fine,

On Tue, Jan 24, 2012 at 9:34 PM, Thomas Broyer <t.broyer@gmail.com> wrote:
Try that: put the image in img/pdficon_large.png at the root of your WAR, then use 'new Image(GWT.getHostPageBaseURL() + "img/pdficon_large.png")' (provided your HTML host page is also at the root of your war, alongside the "img" folder).

See my reply on the issue tracker about why WEB-INF doesn't work.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dlkBDEGRX9wJ.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
vaibhav jain.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment