title: Pass parameters to messages from resource bundle to components other than **h:outputFormat**
body: <p>Is there a convenient way to pass parameters to messages from resource bundle to components other than <strong>h:outputFormat</strong>?</p>
  
  <p>For instance, this is legal: </p>
  
  <pre><code>&lt;h:outputFormat value="#{myBundle['parametricMessage']}"&gt;
      &lt;f:param value="#{myBundle['someParameterValue']}"/&gt;
  &lt;/h:outputFormat&gt;
  </code></pre>
  
  <p>But I need it for a button, like this (which won't work): </p>
  
  <pre><code>&lt;h:commandButton value="#{myBundle['parametricMessage']}"&gt;
      &lt;f:param value="#{myBundle['someParameterValue']}"/&gt;
  &lt;/h:commandButton&gt;
  </code></pre>
  
  <p><em>Of course, I can use link instead of button, and I can make it through a property in a managed bean, but in this question I'm seeking for a <strong>convenient</strong> way to use the button...</em></p>
  
  <p>I'm using RichFaces 3.3.3, JSF2, facelets.</p>