I am trying to display an im开发者_运维知识库age using <s:formattedText value="#{image}"/>
. Image value actually corresponds to image="<h:graphicImage value=\"/img/bird.png\"/>"
. Now while formatting seam throws a warning message
[UIFormattedText] Seam Text parse error: invalid element 'h'
How to resolve this?
What are you trying to achieve? s:formattedText is designed to display text in a rich-text format, not display images, which is what you're asking it to do.
精彩评论