Go Back   SmartClient Forums > Smart GWT Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 23rd Nov 2010, 11:53
edgear edgear is offline
Registered Developer
 
Join Date: Nov 2010
Posts: 14
Default Working with Img

SmartGWT 2.2 & GWT 2.1
Linux & Mac OSX

Ok, I am working with an Img object that is loaded from a servlet. The image I load into the Img is a jfreechart generated on the fly. I want to print this Img. If I try to use the print preview of the canvas it tries to recall the url of the servlet (no longer valid). Is there any way I can clone an Img with out it attempting to reload from the source? Is there no cool caching mechanism for Img so I don't have to download the same thing twice?

Please help enlighten me. I really do not want to store the image in the session and try to clean up the memory used on the server end.

Thank you.
Reply With Quote
  #2  
Old 24th Nov 2010, 05:22
edgear edgear is offline
Registered Developer
 
Join Date: Nov 2010
Posts: 14
Default

Also,

This is using Firefox 3.6 and Chrome 9 dev. I do not think this is browser specific, I think this is how Img works. It just seems odd to not have the ability to copy binary objs without reloading from source.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


© 2010,2011 Isomorphic Software. All Rights Reserved