Javascript Used By All Interfaces - Netscape MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION Manual

Table of Contents

Advertisement

JavaScript Used By All Interfaces

<SCRIPT LANGUAGE="JavaScript">
var header = new Object();
var result = new Object();
header.errorDetails = [a string describing the context of the
error]
header.errorDescription = [a string describing the error]
result.header = header;
</SCRIPT>
The default CMS error template prints the information in the
along with some explanatory text.
JavaScript Used By All Interfaces
This section describes the JavaScript variables that are common to all responses
from end-entity and agent interfaces. The interface definitions in subsequent
sections give details about additional JavaScript that may be added by specific
interfaces.
The CMS server handling the interface request replaces the
a template with the JavaScript variables described in this section. When you
modify or create templates, make sure the
if your response needs to use any of the variables returned by an interface.
The JavaScript included in a response allows you to customize how the response is
displayed or processed. For example, the
certificates returned by the List Certificates interface. The template makes extensive
use of the JavaScript in the response to display a summary of each certificate and
also to create new HTTP forms that can show details about a certificate.
All responses will include the following JavaScript:
<SCRIPT LANGUAGE="JavaScript">
var header = new Object();
var fixed = new Object();
var recordSet = new Array;
var result = new Object();
var httpParamsCount = 0;
var httpHeadersCount = 0;
var authTokenCount = 0;
var serverAttrsCount = 0;
header.HTTP_PARAMS = new Array;
header.HTTP_HEADERS = new Array;
header.AUTH_TOKEN = new Array;
header.SERVER_ATTRS = new Array;
20
Netscape Certificate Management System Customization Guide • March 2002
error result
<CMS_TEMPLATE>
tag appears in the file
<CMS_TEMPLATE>
queryCert.template
object
tag in
file is used to list

Advertisement

Table of Contents
loading

This manual is also suitable for:

Certificate management system 6.0

Table of Contents