4 Replies Latest reply on Oct 28, 2008 12:20 PM by Raluca Jucan

    a4j:mediaOutput displays old picture the second time

    Raluca Jucan Newbie

      I have the following problem. I have a rich:fileUpload element and I generate a preview with a4j:mediaOutput. The first time I do this it works perfectly but when I delete the picture (no preview is generated) and upload another image the displayed image is no longer the current uploaded image.

      I know that the browser caches the images but I'm not sure how the whole thing works when using the a4j:mediaOutput.

      ideas anybody?

      thanks