I'm currently using the resourceBundle variable to get text values in my JSF code e.g. like this:
<h:outputText value="#{resourceBundle.welcomeMessage}" />
Is there any way, to put the message key in a variable, and give it as a dynamic parameter to the resource bundle? I was hoping to be able to do something like this:
<c:set var="name" value="#{'welcomeMessage'}" />
<h:outputText value="#{resourceBundle.get(name)}" />