RequiredMessage showing empty
I'm using a message bundle to display the requiredMessage, unfortunately it isn't working

faces-config.xml

    <faces-config version="2.0"
    xmlns="http://java.sun.com/xml/ns/javaee" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">

    <resource-bundle>
    <base-name>messages.CustomMessages</base-name>
    <var>messages</var>
    </resource-bundle>
    </faces-config>

CustomMessages.properties under messages package

    # To change this template, choose Tools | Templates
    # and open the template in the editor.

    required=Campo Obrigatório.

addDialog.xml

    <p:inputText id="email" value="#{clientBean.client.email}" styleClass="myTextInput"     required="true" requiredMessage="#{messages['required']}">
         <h:outputLabel value="Email"></h:outputLabel>
    </p:inputText>
    <p:message for="email" />

It just shows an empty red rectangle.
RequiredMessage showing empty
===

I'm using a message bundle to display the requiredMessage, unfortunately it isn't working

faces-config.xml

    <faces-config version="2.0"
    xmlns="http://java.sun.com/xml/ns/javaee" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">

    <resource-bundle>
    <base-name>messages.CustomMessages</base-name>
    <var>messages</var>
    </resource-bundle>
    </faces-config>

CustomMessages.properties under messages package

    # To change this template, choose Tools | Templates
    # and open the template in the editor.

    required=Campo Obrigatório.

addDialog.xml

    <p:inputText id="email" value="#{clientBean.client.email}" styleClass="myTextInput"     required="true" requiredMessage="#{messages['required']}">
         <h:outputLabel value="Email"></h:outputLabel>
    </p:inputText>
    <p:message for="email" />

It just shows an empty red rectangle.