Creating a JavaScript Aplicación Arbortext PE
An Aplicación Arbortext PE runs within an Subproceso de 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 Subproceso de Arbortext PE calls the JavaScript function specified by function-name and passes LiveConnect JavaObject references to the E3ApplicationRequest and E3ApplicationResponse objects. The JavaScript Aplicación Arbortext PE must specify two parameters to represent the E3ApplicationRequest and E3ApplicationResponse objects. When the JavaScript function returns, the Subproceso de 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 Aplicación 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.
¿Fue esto útil?