Skip to Main Content

Java Development Tools

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!

TIMER IN ADF

Amritha RameshJun 1 2016 — edited Jun 2 2016

Hi,

I am a beginner in ADF. I am working on a Time Accounting project, ie, we can account our time based on the project. we can start the timer in the application and we can do task such as coding, testing,reading by either opening the application window or by minimizing it. when the window is open ,the timer works fine but when i am minimizing it or even changing the tab , timer is not working properly. some delay is happening in the timer display. here timer is shown to the user when running,it is shown by javascript. i am saving the time when stop button is clicked, the saved time is correct. I am saving the time duration by getting the difference between the current system time on start click and stop click.

The ultimate problem is - the shown time using javascript is not working fine while minimizing the window, but the saved time duration while clicking stop button is perfect. can anyone help me with that.

I am attaching the screenshots:

first screenshot : shows the timer running after 'start timer' button is pressed which is shown using javascript which is 37 seconds but it is actually 1 minute 6 seconds.

Second screenshot: shows the saved time of codingg as a table with previous values as 1 minute and 6 seconds which is correctScreenshot (13).pngScreenshot (14).png

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2016
Added on Jun 1 2016
3 comments
459 views