are you updating img's src attribute in the ajax call? or is the image streamed from somewhere and reflects a property you changed with ajax?

the first should work

the lettter might not unless the url changes - because the browser would have the cached version and no reason to reload it. so you either have to update the url and add a &rand=randomnumber parameter to force the browser to reload the image or add no-cache no-store headers when you are streaming the image.

-Igor


On 5/6/06, Potje rode kool <[EMAIL PROTECTED]> wrote:
Hi,

I am trying to change an image after an AjaxLink is clicked but I can't get it working.
The images are on a Panel, when I click on the AjaxLink I create a new Panel and replace the old one (by calling getPage().replace(Component) ).
I also have put an Label on the Panel and the Label gets updated when I click on the AjaxLink, but not the images.

Do I have to do something extra to let images update or does Wicket doesn't support updating images by Ajax?

Thanks in advance.
Evert


Reply via email to