...
- Pentaho Prompting Project: Used to create the report prompt
- JSTextFormatter:
java.text.Formatter
-compatible GWT module with a clean JavaScript API. Resides in the common Pentaho GWT Widgets project and provides an easy way to convert number and data parameter values to/from the Pentaho Reporting Engine format and the display format the user expects to see. - JQuery
- Dojo (various custom widgets)
- RequireJS and CommonJS Advanced Module Definitions (AMD): http://requirejs.org
A large majority of the code is pure JavaScript on the client with a small number of Java components on the server reponsible for rendering the report and generating suitable Parameter XML to define the client-side prompt. The entire reporting prompt is generated and rendered on the client side and can be manipulated at every step of the way.
...
For information on how to define your own custom prompting component check out the Pentaho Prompting Project project page for more documentation.
Custom prompt components are registered as external resources in the plugin's plugin.xml
. See this file for an example component.
Custom Prompts for individual reports
At this time we do not support embedding custom prompts within individual reports. Any custom components are defined for all reports or can be dynamically added on a per-report basis when the report viewer is loaded for a specific report. This logic can be done in a sample component so enable itself only under certain conditions.