开发者

How to format jsf tags using s:formattedText

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜