myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Displaying certain characters using bundles
Date Wed, 14 Sep 2005 13:08:14 GMT

I'm currently trying to use the following:

<h:commandLink id="clChangePassword"
action="#{mybean.showChangePassword}" immediate="true"

In my bundle, changePassword is defined in a properties file as follows:


This renders as: Change&nbsp;Password instead of Change Password...

The &nbsp; was there because the page was previously written in Struts
and the space was displayed properly when the Struts was rendered using:

<bean:message bundle="mybundle" key="menu.changePassword"/> 

My question is the following: is there a way to keep the property as is
in the properties file, yet get MyFaces to render the page the space
properly or do I have to change the property to:
menu.changePassword=Change Password ?

Thanks a lot,


View raw message