-
1. Re: s:graphicImage problem
dhinojosa Feb 7, 2008 9:39 PM (in response to seammm)Did you install the seam resource servlet in your web.xml
-
2. Re: s:graphicImage problem
seammm Feb 8, 2008 5:35 AM (in response to seammm)I did but I am not getting the bytes thru a servlet as in seamspace example. I am accessing the byte[] via the back bean's property getter. According to seam doc getting picture data directly from byte[] should be possible. Thanks.
value — image to display. Can be a path String (loaded from the classpath), a byte[], a java.io.File, a java.io.InputStream or a java.net.URL. Currently supported image formats are image/png, image/jpeg and image/gif.
<servlet-name>Seam Resource Servlet</servlet-name>
<servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
<servlet-mapping>
<servlet-name>Seam Resource Servlet</servlet-name>
<url-pattern>/seam/resource/*</url-pattern>
</servlet-mapping> -
3. Re: s:graphicImage problem
dhinojosa Feb 8, 2008 6:03 PM (in response to seammm)Did you go to the debug page and see if that image was still there? I could be a scoping issue.