pattern="#{sessionController.applicationPreference.longDateFormat}" >
                            </p:datePicker>

                            <h:outputLabel value="To"/>                                
                            <p:datePicker 
                                class="w-100 " 
                                inputStyleClass="w-100" 
                                id="toDate" 
                                value="#{cashBookEntryController.toDate}" 
                                pattern="