i-net Clear Reports

Customization Properties

With the settings in Customization, i-net Clear Reports can be adapted with own extensions and languages.

Properties of Customization

Lib Directory

Specifies a comma separated list of directories or files that will be added to classpath of i-net Clear Reports.
Each specified file of a directory will be added to the classpath.
Use this property to add JDBC drivers, JavaBeans, your own ReportServlet or Database class implementations. Files will be added to an own ClassLoader implementation that can be reached in Java with RDC.getClassLoader().
Examples:

C:/ClearReports/libs,C:/jdbcdriverCSv/Fositex.jar,C:/jdbcdriverMSSQL/Merlia.jar
C:\\ClearReports\\libs,C:\\jdbcdriverCSv\\Fositex.jar,C:\\jdbcdriverMSSQL\\Merlia.jar

Formula Expander Class(es)

If you want to use "User Defined Functions" in your reports, you can implement them inside your own classes. To use it with i-net Clear Reports you need to add your classes to the classpath of i-net Clear Reports (e.g. create a jar file with the classes and copy it in the "lib" directory) and then specify the fully qualified class name of the classes (multiple classes separated by semi-colon) in the property "Formula Expander Class(es)".
Example (assumes that your formulas are inside the classes com.mycompany.MyTest and com.mycompany.MyDateFormulas)

com.mycompany.MyTest;com.mycompany.MyDateFormulas

Property Checker

Specifies a class implementing the com.inet.report.PropertiesChecker interface which will be used for rendering the reports.
Please also make sure that the jar-file containing this class is in the classpath of i-net Clear Reports.

Request Handler

Specifies a comma separated list of additional services listening in i-net Clear Reports report server or servlet.
These service classes must implement the class com.inet.report.RequestHandler.
Per default the list of request handlers is empty.
If database or hard disk cache is used the CacheRequestHandler can be used to view and/or delete reports stored in cache.
The CacheRequestHandler can be started with "?init=cacheviewer" if it has been added to this list of RequestHandlers, e.g.:

com.inet.report.cache.CacheRequestHandler

The EMailRequestHandler can be started with "?init=email" if it has been added to this list of RequestHandlers, e.g.:

com.inet.report.schedule.server.EMailRequestHandler
com.inet.report.cache.CacheRequestHandler,com.company.MyReportServerLogger

Language Resource

This specifies the resource file for language independent labels.
If the name of the default language resource file is: Language.class or Language.properties and it is located in the package: MyPackage then the value of the property LanguageResource needs to be specified as:

MyPackage.Language

The default language resource file (e.g., Language.properties) should contain the labels for the default language (e.g., English). This default language resource file will be used if the language resource file for the requested language was not found.

Hint: In order to use the language resources, please activate the option "Use Client Locale".

Path to Startpage

If a customized startpage should be displayed in case no report file was set for i-net Clear Reports, a path to the new startpage can be defined here.

Hint: The path must contain a index.html and error.html.

See Also:


i-net software strives to provide accurate product documentation. Please give us your feedback using the form below.
NOTE: This form is for documentation feedback only. For technical assistance, please send an email to clearreports@inetsoftware.de.

 

© Copyright 1996 - 2012, i-net software; All Rights Reserved.