5 Replies Latest reply on Dec 1, 2009 2:28 PM by Marnix van Bochove

    How to put a parameter into a localized string


      On my JSF page, i have a localized outputtext-element, for example:

      '''<h:outputText value="#{messages['myMessage]}" />'''

      In my messages-en.properties, i have something like this string:
      myMessage=Welcome to ''{0}''! Have fun!

      How can i pass a parameter to the messages-array, to fill the {0}-placeholder?

      Thanks in advance!