relative path to wait-24x24.gif in LoginPanel.java

1 view
Skip to first unread message

maciejka

unread,
Jul 3, 2007, 1:35:20 PM7/3/07
to GWT-Stuff
Recently I tried changing the location of GWT files as described on
http://code.google.com/support/bin/answer.py?answer=60560
One issue I found was that your LoginPanel could no longer find an
animation GIF.
The solution I found was to change

new Image("images/login/wait-24x24.gif")
to
new Image(GWT.getModuleBaseURL() + "/images/login/wait-24x24.gif")

in org.mcarthur.sandy.gwt.login.client.LoginPanel

Of course after patching it still works when GWT files are in standard
location (same dir as host HTML file)
I hope it is worth commiting.

Sandy McArthur

unread,
Jul 3, 2007, 1:46:35 PM7/3/07
to gwt-...@googlegroups.com
Thanks for reporting this, I just committed the fix. Attached is a
build with this fix.


--
Sandy McArthur

"He who dares not offend cannot be honest."
- Thomas Paine

GWT-Stuff-20070703.jar
Reply all
Reply to author
Forward
0 new messages