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