[jboss-user] [JBoss Seam] - Navigator doesn't render an image using <s:graphicImage>
jumapama
do-not-reply at jboss.com
Mon Nov 19 15:51:18 EST 2007
Hello, i have a problem when i try to render an image using seam 2.0 and <s:graphicImage>. Navigator doesn't render rightly it. The code is as fellow:
|
| Upload the image:
|
| <h:outputText value="Foto" />
| <s:decorate> <s:fileUpload id="foto" data="#{cliente.foto}" accept="images/png,images/jpg" required="false"> </s:fileUpload> <h:message id="Foto" for="foto" />
|
| Render the image:
| <s:graphicImage rendered="#{user.foto ne null}" value="#{user.foto}"> <s:transformImageSize width="200" height="200">
| </s:transformImageSize> </s:graphicImage>
|
Please, i will appreciate any help about this issue
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106165#4106165
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106165
More information about the jboss-user
mailing list