on ‎2007 Jun 15 9:08 AM
hi i want code for running timer in webdynpro
it should be in hh:mm:ss
format
thank u
Request clarification before answering.
Hi Vani,
Are you talking about the TimedTrigger control
Maybe you can try the following code:
public static void wdDoModifyView(IPrivateView3 wdThis, IPrivateView3.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
{
//@@begin wdDoModifyView
IWDTimedTrigger timeTriggered = (IWDTimedTrigger)view.getElement("TimeTriggered");
if(wdContext.currentContextElement().getContextAttribute()){
if(i<10){
timeTriggered.setEnabled(false);
}
}
//@@end
}
You also get an action with this which gets called per the delay time.Where your can write the code.
Regards
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.