You can try:
image.setUrl("");
image.setUrl(url);

Kevin

On Thu, Feb 26, 2009 at 10:26 AM, Peter Radmanesh <[email protected]
> wrote:

> Maybe the data returned by the URL is cached; have you tried adding a
> time-stamp to the URL (i.e.
> http://xxx.xxx.xx/graph.php?width=320&height=145&ts=........)
>
>
> On Wed, Feb 25, 2009 at 5:26 PM, mars <[email protected]> wrote:
>
>>
>> hi,
>>
>> i have images on my application, which set their url to the following"
>>
>> http://xxx.xxx.xx/graph.php?width=320&height=145
>>
>> this url return an image created by server, it changes dynamically, so
>> in my code, i have:
>>
>>
>> image = new Image(url);  (url is the above)
>> add(image);
>>
>> but once the image is loaded, it stay static forever, won't updated
>> following server.
>>
>> i try different way to udpate image:
>>
>> public void udpate() {
>>   image = null;
>>   image = new Image(url);
>> }
>> but still it stay static....
>>
>> can anyone help? thanks!!!1
>>
>>
>
> >
>

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

Reply via email to