Is there any other way to put image on a button if we don't want to use push button.
Regards,
Vaibhav
--
vaibhav jain.
-- 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.--To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dlkBDEGRX9wJ.
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.
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