12 Replies Latest reply on Aug 6, 2007 10:19 AM by Keith Naas

    howto display the an enum object internationalized

    Hannes Schulz Newbie

      Hi,

      i have some trouble displaying an enum item internationalized. i look for something like that:


      <h:outputText value="#{messages[enumObject]}"/>
      
      or
      
      <h:outputText value="#{messages[enumObject]}">
       <s:convertEnum/>
      </outputText>


      while

      enumObject is a valueBinding to a corresponing getter method which returns an enum object.

      both ways didn't work for me. does anyone know a way to realize it?

      thanks an regards,
      hasc