ar="true">
                <p:ajax event="dateSelect" listener="#{datePicker012.onDateSelect}"/>
                <p:ajax event="viewChange" listener="#{datePicker012.onViewChange}"/>
            </p:datePicker>
        </h:form>

    </h:body>
</f:view>

</html>