I have a message.properties file that contains:
success_text = How cool ... You have guessed the number. {0} is correct!I have a JSF that contains:
<h:outputText value="#{msg.success_text}" >
<f:param value="#{numberBean.userNumber}" />
</h:outputText>
Regardless of what the value is, HTML comes out:
How great ... You guessed how much. {0} right!
Why doesn't it {0}change to the value specified in <f:param>, and how can I fix it?
source
share