Hi,
GWT 2.4
html contains one div as written below
<div id="topbar"
style="background-image:url(images/top-bar-2.png);background-repeat:
repeat-y;"></div>
Now i need to replace this image through clientbundle. So MyClientBundle as
follows
@source("images/top-bar-2.png")
ImageSource topbar2();
i change my html like this
<div id="topbar" style="background-repeat: repeat-y;"></div>
and in java code i set
Document.get().getElementById("topbar").getStyle().setBackgroundImage(clientbundle.topbar2());
But it does not display image.
Somone pls identify my mistake.
Thanks
Deepak
--
Deepak Singh
--
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.