5 Replies Latest reply on Jan 13, 2011 4:24 AM by walidkarray

    Creating dynamic message

      I want to get a message from application resource boundle in my xhtml in a dynamic way. I thought that it should be possible in this way:


      #{messages['myEntity.name.' + myEntity.name]}



      (myEntity.name returns string)


      but i got


      java.lang.NumberFormatException: For input string: "myEntity.name."



      Is it somehow possible?


      Thanks


      Jarek