M
Mohammed Siraj
Guest
We have worked out a client-side scripting solution for Buddhist Calendar. Such that, on all application pages (few exceptions like Audit Trail component) we will present Date literals in Buddhist Calendar. That is on client-side we will tranform the dates as per Buddhist Calendar from Gregorian Calendar. Also, on form pages we have added a plugin 'bdc' for kendoDatePicker & kendoDateTimePicker widgets from kendo library so as to make it work with Buddhist Calendar. Summary of changes done in this regard: 1. Alter min & max restrictions (i.e. +543). 2. Also remove footer template in Calendar 3. Advance any current value set by 543 years.. Next, on every page load, we find out form fields (i.e. if form is available) which are of type 'DateInput' & 'DateTimeInput', & call this plugin on the respective's field's control to affect Buddhist Calendar support. Also, on form submit, we normalize the values back into Gregorian Calendar. Given below is the scripting solution which needs to be included on every Application page via App Settings -> Custom Sidebar.
Continue reading...
Continue reading...