Hi Alex and everybody!

>The thing here is that the image is only loaded from the server if the 
>"source" property of the "qx.ui.basic.Image" is >changed. If you set the 
>source of the image again (with the same URL) the property system of qooxdoo 
>does not trigger >the "apply" method of the property. So to force the change 
>of the image source you need to change the source to another >source (like 
>"qx/static/blank.gif").

This doesnt seem to work, unfortuantly. When I load the original URL it fetches 
it from memory.

Thomas solution works but is not possible for me to use. As it generates a new 
URL every time, I waste bandwidth every time a picture is loaded. This is a 
mobil app so I must have data consumption in mind. If the URL is the same I can 
rely on the cached copy (with an Etag) and will only get a header with 
304-response from the server when the image has not changed.

I would be very greatful if someone could suggest a solution here.

Best regards

Per-Ola 



--------------------------------------------------------------------
  Per-Ola Stenborg                       Tele: +46 (0)346-16080
  SA DataCom AB                          Dir:  +46 (0)346-16088
  Box 153                                GSM:  +46 (0)70-878 13 88
  S-311 22 FALKENBERG                    Fax:  +46 (0)346-84462
  SWEDEN
-------------------------------------------------------------------- 


------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to