JavaScript Used By All Interfaces20 Netscape Certificate Management System Customization Guide • March 2002The default CMS error template prints the information in the error result objectalong with some explanatory text.JavaScript Used By All InterfacesThis section describes the JavaScript variables that are common to all responsesfrom end-entity and agent interfaces. The interface definitions in subsequentsections give details about additional JavaScript that may be added by specificinterfaces.The CMS server handling the interface request replaces the tag ina template with the JavaScript variables described in this section. When youmodify or create templates, make sure the tag appears in the fileif 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 isdisplayed or processed. For example, the queryCert.template file is used to listcertificates returned by the List Certificates interface. The template makes extensiveuse of the JavaScript in the response to display a summary of each certificate andalso to create new HTTP forms that can show details about a certificate.All responses will include the following JavaScript: