JavaScript in the platform

The Requea platform uses a JavaScript engine. This scripting is ECMA 1.5 compliant. 

You may find many documentation on the web about javascript. Here are a few links:

javascript reference documentation (mozilla.org)

Requea system objects

A few objects are available to interact with the platform, search data and call operations.

Static objects

System
System wide functions and utilities

User
Get the current User and access its properties

Utils
Some utility functions

Registry
Get access to database params or definitions

Message
Retrieve localized end user messages

Runtime
Execute external processes

Counter
Retrieve incremental values

Progress
Manage long running operations

Other static calls

Non Static objects

In addition, there are a few javascript object that can be used to instantiate objects and retrieve data or export data.

Entity

Filter
Set query parameters

EntityList

Calendar
Manipulate dates and time as Gregorian calendars

BusinessCalendar
Manipulates dates and time with open hours, week ends and holidays

OptionValue

CSVReader

TextFile

TextLine

Money

Notification
Api to send emails or SMS

Counter

Excel Spreadsheet Manipulation

ExcelReadonlyWorkbook

ExcelWritableWorkbook

ExcelWorkbook

ExcelCell

ExcelSheet

ExcelWritableSheet

ExcelCellFormat

Entity definition access

Application

PropertyDefinition 

Action

Operation

JavaScript in action

Property rules

Operation Script

Action Script and Visibility

Workflow Script

Tags:
Created by Pierre Dubois on 2011/02/22 14:18
     
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation