3 Replies Latest reply on Oct 8, 2010 6:28 AM by Leo van den berg

    dynamic messages properties

    Tina Ng Newbie

      I have this in a file xhtml


      <h:outputLabel value="#{myTitle}"/>



      where myTitle is a String outjected from Action class and it's dynamic. Somewhat like this:




      if (Util.CONSIGNE_PARAM.equals(myParam)) {
                  myTitle = "Liste des consigne";
              } else if (Util.EFTCO_PARAM.equals(myParam)) {
                  myTitle = "Liste des eftco";
              }



      The problem is that my application is internationalized. So is there any way to manipulate myTitle in java? or even in xhtml?


      Thanks,
      Tina