Hide last authors
Maurice Gasco 1.1 1 Cet objet représente la définition d'une opération d'une application.
2
3 == Propriétés ==
4 === Id ===
5 sysId de l'opération.
6
7
8 === Name ===
9 Nom de l'opération.
10
11
12 Exemple: création d'une option contenant la liste des actions
13 var arr = new Array();
14 var reg = System.Registry;
15 var app = reg.getApplication(appname);
16 if (app != null) {
17 var opers = app.getOperations();
18 var max = opers.length;
19 for (var i=0; i<max; i++) {
20 var oper = opers[i];
21 var opt = new sysOptionValue();
22 opt.sysTitle = oper.Name
23 opt.sysValue = oper.Name;
24 arr.push(opt);
25 }
26 }
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation