I defined below pro开发者_运维百科perty in property file.
<b>Profile 1:</b> <br> Only the market(s) selected above
I set this in bean profile1
<h:outputText style="font-size:12px;" value="#{bean.profile1}" />
But result is
<b>Profile 1:</b> <br> Only the market(s) selected above
Can please anybody help how to give break and bold
in property file?Use escape=false
in the h:outputText
:
<h:outputText style="font-size:12px;" value="#{bean.profile1}" escape="false"/>
Otherwise all special characters are escaped during jsf processing.
精彩评论