Hi folks,
I've implemented a RemoteImage class which extends the Image class.
The method setCacheable works with Internet Explorer but neither with Firefox
nor with Opera.
If I load an image the first time, the correct image is shown.
When I try to load a different image (path is applied correctly), the old image
is shown.
What I'm doing wrong?
I'm using wicket 1.3.5.
===
public
classRemoteImage extendsImage {
publicRemoteImage(String id, finalString path) {
super(id);
Resource resource = newWebResource() {
publicIResourceStream getResourceStream() {
IResourceStream stream = newFileResourceStream(newFile(path));
returnstream;
}
};
resource.setCacheable(false);
setImageResource(resource);
}
}
===
Would appreciate any help.
Thanks in advance
Leigh