6 Replies Latest reply on Mar 25, 2010 8:51 AM by nimo stephan

    pass a variable to a message-key

    nimo stephan Master

      Does anyone know, how can I do something like this:

      I want to pass a variable to a message-key. But this does not work.

      <s:selectItems value="#{users}" var="i" label="#{messages[hobby.#{_s}]}"/>

      this does also not work:

      <s:selectItems value="#{users}" var="i" label="#{messages[name]}">
           <ui:param name="name" value="hobby.#{_s}"/>

      any ideas?