Overlaying OOTB Date Picker
- February 15, 2017
- 10 replies
- 4110 views
Hi All,
We have a requirement to customize the OOTB datepicker to add preset values to the datepicker. We used a jquery plugin which had preset values. We made changes to the ‘render.jsp’ by overlaying the node ‘libs/granite/ui/components/foundation/form/datepicker/render.jsp’.
We were able to customize the OOTB datepicker and render a new one with presets. Please find the screenshot below for reference.
The issue we are facing is we are not able to save the value in the jcr:node. For instance, if we were to set the On Time for a page, this value does not get persisted on click of ‘Save’. On click of ‘Save’, the form gets refreshed but the value of On Time is not saved and the field becomes empty.
Please help us in finding a solution. This is a critical requirement for the business.
Thanks.

