The jsf2 h:outputText tag is not formating the h:outputText with the MessageFormat
Posted
by Thiago Diniz
on Stack Overflow
See other posts from Stack Overflow
or by Thiago Diniz
Published on 2010-04-28T00:19:46Z
Indexed on
2010/04/28
0:23 UTC
Read the original article
Hit count: 580
The jsf2 h:outputText tag is not formating the h:outputText with the MessageFormat
my faces config
<application>
<resource-bundle>
<base-name>Messages_pt_BR</base-name>
<var>bundle</var>
</resource-bundle>
</application>
My resource bundle:
...
EventPageTitle=Event: {0}
...
My JSF2 XHTML:
<h:outputText value="#{bundle.EventPageTitle}" >
<f:param value="#{seuTicketEventController.selected.eventName}"/>
</h:outputText>
The Output:
Event: {0}
Does anyone knows how to solve this problem? I have searched everywhere but i can't a solution!
© Stack Overflow or respective owner