i have for instance an
enum State { OK, WARN, ERROR } 
and a message.properties with following keys:
my.state.OK=Ok
my.state.WARN=Warning
my.state.ERROR=Error
and given a bean with a property of type State, for instance, bean.state, i would like to display the text for the property's state.
something like:
#{text['my.state.' + bean.state]}
this does not seem to be possible just because the + operator does not work on strings.
any work around?
 
     
    