Problem
I have a template in
In principle it is not necessary to update the p: calendar component yourself, nor should you update the p: message , doing that can generate a lot of inconsistencies.
On the other hand, use the p: outputLabel tag in the following way to have better consistency between your components.
<p:outputLabel for="txt_fecha" value="Fecha" />
Check out this video where you can learn 3 techniques to update your components correctly:
Greetings!