The
Arbortext PE Request Manager processes requests for
Arbortext Publishing Engine JavaScript applications by passing requests with the
f query parameter with the value
javascript to the request function
com.arbortext.e3.FunctionJavascript. The request function allocates an
Sottoprocesso Arbortext PE and passes the request to the
Applicazione Arbortext PE Context (described in
The Sottoprocesso Arbortext PE Application Context). The
Applicazione Arbortext PE Context creates the request and response objects. Then, it directs the
Sottoprocesso Arbortext PE JavaScript interpreter to evaluate the function specified in the
function parameter of the HTTP request. The function must be defined in a
.js file in a
custom\init directory or in a
.js file in
custom\scripts which is loaded from
custom\init. The returned value for the JavaScript function is ignored because the data must be transmitted to the client in the response object.