Tuesday, January 24, 2012

Re: HELP.. ADDING IMAGE TO PushButton.

Hi Thomas,

I finally got it to work.  You were correct in that once I put the images as part of the war file and "NOT" in the WEB-INF, it worked correctly.  Although our JAVA guy here is insisting WEB-INF is the place it needs to be.  I'm assuming it is a GWT thing that doesn't allow reading files from WEB-INF but in any event, I got it working so thank you very much.  Are we supposed to mark which people solved our problems and mark them complete on this site?  I am totally new to GWT and this help board.

Thanks again and I would love to read about the WEB-INF article you informed me about so I can set my Java person here straight.  We would still be working on the same problem right now if I listened to him.  :)  Thanks again for everything.

Joshua

On Tue, Jan 24, 2012 at 12:03 PM, Thomas Broyer <t.broyer@gmail.com> wrote:
new Button("<img src='" + GWT.getHostPageBaseUrl() + "img/pdficon_large.png'>");

--
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/-/vBkHDauH6tsJ.

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.

--
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