on 01-31-2007 12:17 PM
Hi,
in my WD I use a linkToAction UI. The problem is that by clicking on this UI also the code in wdDoModifyView(...) will be executed. I write also some piece of code inside my else-node of (firstTime). How can I prevent it?
if (firstTime) {
} else {
...my piece of code
}
regards,
Sharam
Hi Sharam,
wdDoModifyView(...) will be called whenever there is an event in the View. So, Try avoiding the overloading of wdDoModifyView(...) . Instead you can create a separate method for linkToAction UI and perform the required operation.
Regards,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jhansi,
Could you please give me an example code how I can do this, perhaps I create all my linkToAction UI's by run time. Unitl now I use the code below:
for (....){
......
IWDAction actionThumbnail = wdThis.wdCreateAction(
IPrivateDocPreAppView.WDActionEventHandler.HANDLING_THUMBNAILS, "");
linkToAction.setOnAction(actionThumbnail);
linkToAction.mappingOfOnAction().addParameter("value", j);
.....
}
regards,
Sharam
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.