Worklist Customization: Vacation Duration
Hi,
I have to configure vacation duration using not only date but datetime.
For example stardate: "31.08.2007 12:00" TO enddate "28.02.2008 13:00"
When i queryied table WFUSERVACATION i see that STARTDATE and ENDDATE COLUMNS are type of DATE
So i have updated value of STARTDATE to "31.08.2007 12:00" for a particular record that belongs to a specific user.
But when i have looked from Worklist Application i see the value "31.08.2007 00:00"
I have changed the lines at both Preferences.java and Vacation.jsp
/*
Calendar startDateCal
= i18NUtil.parseDateString(startDateStr,wfCtx.getLocale(),wfCtx.getTimeZone());
Calendar endDateCal
= i18NUtil.parseDateString(endDateStr,wfCtx.getLocale(),wfCtx.getTimeZone());
*/
Calendar startDateCal
= i18NUtil.parseDateTimeString(startDateStr,wfCtx.getLocale(),wfCtx.getTimeZone());
Calendar endDateCal
= i18NUtil.parseDateTimeString(endDateStr,wfCtx.getLocale(),wfCtx.getTimeZone());
When I updated with values "31.08.2007 12:00", data is recorded as "31.08.2007 00:00"
An other question is how can i customize the worklist:datepicker as that it approves time(hour and minute)
PLATFORM: Oracle SOA Suite 10.1.3.1
Thanks