I am trying to translate de label attribute of an inputText but I don't know if it is possible.
My code is the following:
<h:outputLabel for="input_titulo" value="#{msg.titulo}"/>
<h:inputText value="#{bean.titulo}" id="input_titulo"
required="true" label="#{msg.titulo}">
<f:validateLength maximum="255" />
</h:inputText>
The "titulo" is a key of the Messages.properties I am working with and it is showing well in the outputLabel tag.
But when the validation error is shown, the label of the field is empty:
"": La longitud del valor es mayor al máximo permitido de 255 caracteres.
I am working with myfaces 2.0.2 implementation.
There is a bug in myfaces 2.0.2 implementation related to my issue:
https://issues.apache.org/jira/browse/MYFACES-1729
I tried with myfaces 2.2.12 and it works ok.