Wiki source code of JavaScript Reference
Hide last authors
3.1 | 1 | = JavaScript in the platform = | |
1.1 | 2 | ||
3.1 | 3 | The Requea platform uses a JavaScript engine. This scripting is ECMA 1.5 compliant. | |
1.1 | 4 | ||
3.1 | 5 | You may find many documentation on the web about javascript. Here are a few links: | |
6 | |||
6.1 | 7 | [[javascript reference documentation (mozilla.org)>>https://developer.mozilla.org/en/JavaScript/Reference]] | |
3.1 | 8 | ||
9 | |||
10 | = Requea system objects = | ||
11 | |||
12 | A few objects are available to interact with the platform, search data and call operations. | ||
13 | |||
14 | == Static objects == | ||
9.2 | 15 | ||
21.2 | 16 | ; **[[System>>Javascript.Base.System]]** | |
21.1 | 17 | : System wide functions and utilities | |
18 | \\ | ||
3.1 | 19 | ||
21.2 | 20 | ; **[[User>>Javascript.Base.User]]** | |
21.1 | 21 | : Get the current User and access its properties | |
22 | \\ | ||
7.1 | 23 | ||
21.2 | 24 | ; **[[Utils>>Javascript.Base.Utils]]** | |
21.1 | 25 | : Some utility functions | |
26 | \\ | ||
3.1 | 27 | ||
21.2 | 28 | ; **[[Registry>>Javascript.Base.Registry]]** | |
21.1 | 29 | : Get access to database params or definitions | |
30 | \\ | ||
3.1 | 31 | ||
21.1 | 32 | ; **[[Message>>JSMessage]]** | |
33 | : Retrieve localized end user messages | ||
34 | \\ | ||
4.1 | 35 | ||
21.2 | 36 | ; **[[Runtime>>Javascript.Base.Runtime]]** | |
21.1 | 37 | : Execute external processes | |
38 | \\ | ||
4.1 | 39 | ||
21.1 | 40 | ; **[[Counter>>Javascript.Base.Counter]]** | |
41 | : Retrieve incremental values | ||
42 | \\ | ||
4.1 | 43 | ||
21.1 | 44 | ; **[[Progress>>Javascript.Base.Progress]]** | |
45 | : Manage long running operations | ||
46 | \\ | ||
17.1 | 47 | ||
21.1 | 48 | ; **[[Other static calls>>OtherStatic]]** | |
49 | \\ | ||
17.1 | 50 | ||
3.1 | 51 | == Non Static objects == | |
52 | |||
4.1 | 53 | In addition, there are a few javascript object that can be used to instantiate objects and retrieve data or export data. | |
54 | |||
21.1 | 55 | ; **[[Entity>>JSEntity]]** | |
56 | \\ | ||
16.1 | 57 | ||
21.1 | 58 | ; **[[Filter>>JSFilter]]** | |
59 | : Set query parameters | ||
60 | \\ | ||
5.1 | 61 | ||
21.1 | 62 | ; **[[EntityList>>JSEntityList]]** | |
63 | \\ | ||
5.1 | 64 | ||
21.1 | 65 | ; **[[Calendar>>JSCalendar]]** | |
66 | : Manipulate dates and time as Gregorian calendars | ||
67 | \\ | ||
5.1 | 68 | ||
21.1 | 69 | ; **[[BusinessCalendar>>Javascript.Base.BusinessCalendar]]** | |
70 | : Manipulates dates and time with open hours, week ends and holidays | ||
71 | \\ | ||
8.1 | 72 | ||
21.1 | 73 | ; **[[OptionValue>>JSOptionValue]]** | |
74 | \\ | ||
5.1 | 75 | ||
21.1 | 76 | ; **[[CSVReader>>JSCSVReader]]** | |
77 | \\ | ||
5.1 | 78 | ||
21.1 | 79 | ; **[[TextFile>>JSTextFile]]** | |
80 | \\ | ||
5.1 | 81 | ||
21.1 | 82 | ; **[[TextLine>>JSTextLine]]** | |
83 | \\ | ||
15.1 | 84 | ||
21.1 | 85 | ; **[[Money>>Javascript.Base.Money]]** | |
86 | \\ | ||
17.1 | 87 | ||
23.1 | 88 | ; **[[Notification>>Javascript.Base.Notification]]** | |
89 | \\ | ||
90 | |||
17.1 | 91 | == Entity definition access == | |
92 | |||
21.1 | 93 | ; **[[Application>>JSApplication]]** | |
94 | \\ | ||
17.1 | 95 | ||
21.1 | 96 | ; **[[PropertyDefinition >>JSPropertyDefinition]]** | |
97 | \\ | ||
17.1 | 98 | ||
21.1 | 99 | ; **[[Action>>JSAction]]** | |
100 | \\ | ||
17.1 | 101 | ||
21.1 | 102 | ; **[[Operation>>JSOperation]]** | |
103 | \\ | ||
19.1 | 104 | ||
105 | = JavaScript in action = | ||
106 | |||
21.1 | 107 | ; **[[Property rules>>PropertyRules]]** | |
108 | \\ | ||
19.1 | 109 | ||
21.1 | 110 | ; **[[Operation Script>>OperationScript]]** | |
111 | \\ | ||
19.1 | 112 | ||
21.1 | 113 | ; **[[Action Script and Visibility>>ActionScrVis]]** | |
114 | \\ | ||
19.1 | 115 | ||
21.1 | 116 | ; **[[Workflow Script>>WorkflowScript]]** | |
117 | \\ |