my code is :
Code: Select all
<h:panelGroup styleClass="md-inputfield">
<p:calendar id="datetime" value="#{clienteMB.cliente.dataNascimento}" pattern="dd/MM/yyyy" mask="true" required="true" requiredMessage="Por favor preencher a data de nascimento" />
<p:outputLabel for="datetime" value="Nascimento:"/>
</h:panelGroup>
Can anybody help me ?