Friday, August 31, 2012

ImageResource loading

Hi all,

I have a ClientBundle containing one ImageResource.
Then i create an Image from this ImageResource :

Image img = new Image(myImageResource);

I set on the image a LoadHandler and ErrorHandler to manage loading events.
To launch the image loading, i have to attach the image to the RootLayoutPanel.

Is there a way to force the image loading without attaching it to RootLayoutPanel ?

Regards,
Harold

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