ARCWAY Cockpit

Report Templates

Report templates define the content of a report.

The structure of the document to be generated is to be discribed in a syntax which is a simple subset of the DocBook XML standard. The reference sheet for this syntax can be found in the Doc Book Reference.

Data from the Cockpit System can be included using script calls. These script calls will be interpreted and replaced during document creation. This task is done by the Velocity engine. The Velocity engine is a widespread open source component from the Apache Jakarta Project. A simple reference sheet for the Velocity Template Language (VTL) can be found in the Velocity Reference.

The Velocity engine accesses data of the Cockpit repository via data providers. For referring to these providers in the script, the following constants are defined:

Data provider for core entities

Data provider for modules (for more information see the interface documentation of each module)

context menu