title: how to send parameters to properties file if i use attribute requiredMessage of inputText
body: <p>In jsf according to what I read I can replace parameters in a resource bundle string using</p>
  
  <pre><code>&lt;h:outputFormat value="#{msg['message.param2']}"&gt; 
     &lt;f:param value="param0" /&gt; 
     &lt;f:param value="param1" /&gt; 
  &lt;/h:outputFormat&gt; 
  </code></pre>
  
  <p>My problem is I am working with a primefaces tag and I need to use the attribute <code>requiredMessage</code> of <code>inputText</code>, similar to this:</p>
  
  <pre><code>&lt;p:inputText value="#{cteYDetalleMb.cteEnCaptura.nombreComercial}" style="width: 50em" required="true" 
               requiredMessage="#{msg['validacion.datosRequeridos']}" /&gt;
  </code></pre>
  
  <p>My message to <code>validacion.datosRequeridos</code> is requiring a parameter and the example working above is different. How can i resolve this, i try to use <code>&lt;f:param&gt;</code> but it does not work.</p>