Hey guys. I did some researching on this matter but besides ClientBundle I failed to find something that would help me here. ClientBundle would work OK in case I would have the images as static references, but what I am trying to do (just playing around, getting to know this GWT) is similar to file explorer. A tree on the left side of my workspace shows folders with files inside them. For my purposes, picture files. And these folders can be anywhere on the HDD. Now, how would I go about sending selected image (or complete folder content) to client side?
What I had in mind is that I would create a widget that would hold an Image object on it + perhaps a label or two. Nothing fancy. This widget would call a asnyc service to get the picture data from the server. Bytes. But, once I would get the data to the client side, how can I create an Image object out of it? I did not find a way. Alternative I could probably make browsing only possible on such folders that are accessible over the internet (virtual folders I think is the correct term) and just send over appropriate URLs, since Image does accept such parameter. But I would really like to know if original idea is feasible. ImageResource from received bytes? Thank you all. -- 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.
