2 Replies Latest reply on May 25, 2011 2:38 PM by Leo van den berg

    s:graphicImage Not Displaying Image

    Paul McKinney Newbie

      I am trying to use s:graphicImage to display a gif or png file but even though the Seam tag seems to find the file the image it is not being displayed.


      Seam 2.0.2.GA  JBoss 4.2.2.GA


      The following JSF tag works:


      <s:graphicImage value="images/img04.gif" alt="image could not be found" />



      But the following Seam tag does not:


      <s:graphicImage value="images/img04.gif" alt="image could not be found" />



      The HTML rendered is:


      <img src="/myappname/seam/resource/graphicImage/org.jboss.seam.ui.GraphicImageStore.-4982848d-119fc74c5dd--7ffd.gif" alt="image could not be found" />



      The issue is the same if I use .gif or .png files. Any help or insight would be greatly appreciated.