Forum Stats

  • 3,837,490 Users
  • 2,262,264 Discussions


Get date and time at click point in Calendar

kchemweno Member Posts: 92 Blue Ribbon
edited Oct 11, 2017 1:44AM in JDeveloper and ADF

I am using JDeveloper 12c.

There's a calendar that I have built, it has a popup that I use when creating a new activity.

My requirement is to be able to capture the date and time at the point clicked on the calendar and update my RichInputDate (Travel Time) as shown in the screenshot below.

How do I achieve that?




  • RajuChetri
    RajuChetri Member Posts: 504 Blue Ribbon
    edited Oct 11, 2017 1:44AM


    You can achieve this requirement by using on popup launch inside popup fetch listner get the current date time by using new new Timestamp(System.currentTimeMillis()). So  Once you get the current date time then you get the travel time component binding and set the value. or by using the attribute binding set the value to travel date.

    Best Regards,

    Raju Chetri

This discussion has been closed.