cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

timer in webdynpro

Former Member
0 Likes
651

hi i want code for running timer in webdynpro

it should be in hh:mm:ss

format

thank u

View Entire Topic
Former Member
0 Likes
Former Member
0 Likes

hi ididnt get

in wdyn i took time triggred ui elment

i dont want to enable or hide it shold be running in hh:ss:mm format

i want to access that value while saving rec..

when view loads it shld start running

pls send me code

Former Member
0 Likes

Hi,

1)Insert Timed Trigger UI Element

2)create 1 attribute TIME,set datatype as String.

3)context map this attribute to component controller

4)Insert Textview,then bind that time attribute to textview

5)create action as Time for timed trigger in their properties and also set properties DELAY = 1

6)write code in this, onActionTime(),

String dt1 = Calendar.getInstance().getTime().toString();

wdContext.currentContextElement().setTime(dt1);

Former Member
0 Likes

i got running timer in hh:mm:ss format

i want to extract value at particular instant

i.e current time from timer

how to achieve that