I am trying to read
a resource bundle with a concatenated key.
"labels" is the
resource bundle, and there are entries:
transaction_a=Account
transaction_c=Credit
transaction_p=Payment
etc.
code is a char 'a',
'c', 'p', ...
I want to access the
resource bundle by concatenating the constant "transaction_" with
the
code char, but the
jsf code below doesn't work. How is this done?
<h:outputText
value="#{labels['transaction_' code]}"/>
Thank
you,
Lance
Frohman

