Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Worklist Customization: Vacation Duration

449303Aug 28 2007
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 25 2007
Added on Aug 28 2007
0 comments
523 views