Adding and removing content files
Individual content files are added or removed from the document root for each top-level help topic. To make the content file available for linking and viewing from the help system, you must also alter the file list, files.js, located at <document root>\wwhdata\common. The files.js file also controls the order of the files in the array for reference by other files. For example, the content of files.js for the using-dk document root looks like the following code:
function WWHBookData_Files(P)
{
P.fA("Using Actuate BIRT Java Components","about-dkreports.html");
P.fA("Introducing Actuate Java Component","DKusing-intro.2.01.html");
P.fA("Using Actuate Java Components","DKusing-intro.2.02.html");
P.fA("About Actuate Deployment Kits","DKusing-intro.2.03.html");
…}
This code establishes the following structure:
*
Each file, about-dkreports.html, DKusing-intro.2.01.html, DKusing-intro.2.02.html, and DKusing-intro.2.03.html, is available for linking and display by Java Component help.
*
The first file in the array is about-dkreports.html, which is referenced by the array number 0. The second file in the array is DKusing-intro.2.01.html and is referenced by the array number 1 and so on.
The order of the files in the array always begins with and proceeds from 0. The file array is an internal mechanism that supports referencing these files by number within the help topic.
How to add a content file to the Java Component help system
Use the following procedure to add a content file to the Java Component help system.
1  
Copy your content file into the document root directory for the help topic you need to enhance. For example, to add a new file to the Using Actuate BIRT Java Components help topic, the document root is the <context root>\using-dk directory.
2  
3  
4  
function WWHBookData_Files(P)
{
P.fA("Using Actuate BIRT Java Components","about-dkreports.html");
P.fA("Introducing Actuate Java Components","DKusing-intro.2.01.html");
P.fA("Using Actuate Java Components","DKusing-intro.2.02.html");
5  
P.fA(…); requires two parameters. The first is a string that describes the file. The second is the name of the file. Both parameter values must individually be within quotation marks and separated by a comma.
6  
7  

Additional Links:

Copyright Actuate Corporation 2012