5 Replies Latest reply on Apr 7, 2009 9:30 PM by Hugo Pragt

    Interpolate-Problem..

    nimo stephan Master

      I have this:



      String myValue = "hello";
      Interpolator.instance().interpolate("#{messages['test']}", myValue);




      The key 'test' is stored in my property-file
      (Decoding : ISO-8859-1)


      test = I say {0}



      But the Interpolater returns the following string:



      I say {0}



      instead of:


      'I say hello'


      It does not replace the variable with myValue.


      I don t know why.


      Any suggestions?