0 Replies Latest reply on Jan 19, 2008 3:40 PM by Milli Coelho

    a4j:mediaOutput - cacheable = true not working as expected

    Milli Coelho Newbie

      Since a4j and richfaces are merged, I'm posting it in this forum also.

      Hi,

      I'm getting an image by using a4j:mediaOutput and I would like to cache it instead of getting it from the server everytime. Here is the code

      <a4j:mediaOutput id="dynamicImageOutput" element="img" mimeType="image/gif" createContent="#{resourceProvider.getResource}" value="users/silhouette.gif" />





      It works fine but when I add cacheable="true" to the above code, it does not display any image in FF and in IE it gives a red cross.

      I'm using the version 3.1.2 with Seam 1.2.1. Is it a bug or am I doing something wrong?

      Thanks