5 Replies Latest reply on Apr 24, 2009 12:57 AM by Arbi Sookazian

    how to include a URL in the messages_en.properties file

    Tanya Ruttenberg Expert
      I have a message defined in messages_en.properties file like this (note URL encoding):


      network.diagram.url=http://ssahost.ba.ssa.gov/DNENIB/SSAMap%20Core%20rev%208.htm

      It is referred to in my view like this:


      <h:outputLink value="#{messages['network.diagram.url']}">


      However, the URL encoding is decoded when the page is rendered, making the link unusable. Like this:


      http://ssahost.ba.ssa.gov/DNENIB/SSAMap Core rev 8.htm

      How do I maintain the URL encoding?

      Thanks
      TDR