Providing the ReportDesign.initialize code
The following code in the ReportDesign.initialize method creates a file on your hard drive and adds one line to the file.
importPackage( Packages.java.io );fos = new java.io.FileOutputStream( "c:\\logFile.txt" );printWriter.println( "ReportDesign.initialize" );The preceding code performs the following tasks:
Creates a PrintWriter object that every script can use to track script execution sequenceHow to provide code for the ReportDesign.initialize script
Figure 23-2 Selecting the report designFigure 23-3 Providing ReportDesign.initialize code
(c) Copyright Actuate Corporation 2012 |