<a4j:commandLink ...
value="#{bean.commandName}" />
<h:commandButton ...
value="#{bean.commandName}" />
<f:param name="content" value="#{bean.content}"/>
when the values are UTF-8 chinese characters, they are escaped.
When I open source view from IE or Firefox browser, they are seen as like:
摗筡掬滙
however, there is no problem showing chinese chars on web pages.
But our customers like them to be chinese characters in source view.
Is there a way to prevent value(chinese characters in UTF-8) from being escaped?
Thanks for help.
Dave
Hi, Dave
Try this:
<a4j:commandLink>
<h:outputText value="#{bean.commandName}" escape="false"/>
</a4j:commandLink>