Creating a JavaScript Application Arbortext PE
An Application Arbortext PE runs within an Sous-processus Arbortext PE and responds to HTTP requests routed to it from the Arbortext PE Request Manager.
The f=javascript function has a function=function-name parameter where function-name specifies the JavaScript function to handle the request.
The Sous-processus Arbortext PE calls the JavaScript function specified by function-name and passes LiveConnect JavaObject references to the E3ApplicationRequest and E3ApplicationResponse objects. The JavaScript Application Arbortext PE must specify two parameters to represent the E3ApplicationRequest and E3ApplicationResponse objects. When the JavaScript function returns, the Sous-processus Arbortext PE transmits the response information in the E3ApplicationResponse object back to the Arbortext PE Request Manager.
* 
For an Arbortext Publishing Engine installation, only one type of JavaScript is supported. To be sure your JavaScript Application Arbortext PE is compatible, you need to specify the JavaScript interpreter for your .js file. At the top of the script, place the following statement:
//<script type="text/javascript">
The JScript language is not supported for Arbortext Publishing Engine.
* 
The f=javascript function can specify a custom application that returns a file of any type. It can also set the HTTP status code, reason phrase, and headers to any requested value.
Est-ce que cela a été utile ?