2
How can I make a menu to enter the date of birth to register a new registration?
My code is like this:
    <!-- Nome -->
    <h:outputText value="Nome" />
    <h:inputText value="#{CadastroDados.nome}" />
    <br />
    <!-- Sobrenome -->
    <h:outputText value="Sobrenome" />
    <h:inputText value="#{CadastroDados.sobrenome}" />
    <br />      
    <!--  Sexo -->
    <h:selectOneRadio id="selectsexo" value="#{CadastroDados.sexo}">
        <l:selectItem id="item1" itemLabel="Masculino" itemValue="Masculino" />
        <l:selectItem id="item2" itemLabel="Feminino" itemValue="Feminino" />
    </h:selectOneRadio>
    <br />      
    <!-- Data de Nascimento --> 
            <!-- ... -->
    <!-- Execução -->
    <h:commandButton value="Verificar" action="#{CadastroDados.exe}" />