i want to display the label attribute in the message:
<h:inputText id="email" label="#{sW.email}" value="#{contattiBean.contatto.email}"
required="true">
<f:param value="#{sW.email}" />
<f:validateRegex pattern="[\w\.-]*[a-zA-Z0-9_]@[\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]"/>
</h:inputText>
i have setted the f:param because in the
`javax.faces.validator.RegexValidator.NOT_MATCHED={0}: Valore non valido`
the {0} is substituted with the regex pattern. While, i what to display the label value. My solution doesn't work how can i do it?