Since the export functionality is not implemented as a WebWork action, it does not inherit the Velocity context of an action. It creates its own context and populates it with a separate list of components. All exporters will inherit this context.
| Velocity Reference | Description | Javadoc Reference |
|---|---|---|
| $generalUtil | A GeneralUtil object with several useful methods, including URL encoding. | GeneralUtil |
| $textUtil | Common utilities for string manipulation. | TextUtils |
| $rendererBean | Mostly for internal use, but can also be used for manipulating page or space exports. | WikiExporter |
| $exportDate | A java.util.Date created when the export is actually performed. | Date |
| $exportContent | An ExportContext object which holds the context in which the export is performed, such as the user performing the export. | ExportContext |
| $dateFormatter | Provides a date and time formatter suitable for the exporting user's locale and environment. | DateFormatter |
| $baseUrl | The base URL of the Confluence installation (http://<server>:<port>/contextPath). | String |
Specific exporters may have additional context members. See their pages for details.






Add Comment