You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 28 Members of 4061 |
| Forum: Seam Users |
18. May 2008, 17:12 CET | Link |
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.