Pass parameters to messages from resource bundle to components other than **h:outputFormat**
- 阅读更多 关于 Pass parameters to messages from resource bundle to components other than **h:outputFormat**
问题 Is there a convenient way to pass parameters to messages from resource bundle to components other than h:outputFormat ? For instance, this is legal: <h:outputFormat value="#{myBundle['parametricMessage']}"> <f:param value="#{myBundle['someParameterValue']}"/> </h:outputFormat> But I need it for a button, like this (which won't work): <h:commandButton value="#{myBundle['parametricMessage']}"> <f:param value="#{myBundle['someParameterValue']}"/> </h:commandButton> Of course, I can use link