Action

Last modified by Maurice Gasco on 2018/06/06 18:33

This object represents the definition of an application's action.

Properties

Id

sysId of the action.

Name

Name of the action.

Title

Title of the action.

Example: Create an option listing all actions of an application
      var arr = new Array();
      var reg = System.Registry;
      var app = reg.getApplication("rqRequest");
      if (app != null) {
        var acts = app.getActions();
        var max = acts.length;
        for (var i=0; i<max; i++) {
          var act = acts[i];
          var opt = new sysOptionValue();
          opt.sysTitle = act.Title;
          opt.sysValue = act.Name;
          arr.push(opt);
        }
      }

Tags:
Created by Maurice Gasco on 2011/09/28 12:13
     
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation