PrptComponent

Description

This is a component that can execute the new Pentaho Reporting unified file format. The result is displayed in the PUC Report Viewer, including the new parameter and pagination features. For better use in CDF, parameter and pagination in the report viewer can be turned on or off.

Options

name
The name of the component
type
prptComponent
listeners
Array - Parameters who this component will react to
parameters
Array of Arrays - Parameters to pass to the report
htmlObject
Id of the component (usually a div or a span tag) to be replaced by the result
refreshPeriod
Time in seconds for this component to refresh. Default is 0 (disabled)
executeAtStart
True to execute the component at start, false otherwise
preExecution
Function - Function to be called before the component is executed
postExecution
Function - Function to be called after the component is executed
preChange
Function - Function to be called before the component is executed. The component will be executed only if the result of preChange equals true.
postChange
Function - Function to be called after the component is executed
tooltip
Tooltip to be displayed when mouse hovers
solution
Solution where the Pentaho Reporting file is
path
Path where the Pentaho Reporting file is
action
Pentaho Reporting file name (unified file format *.prpt)
paginate
Pentaho Report Viewer paginate option. Default: true
showParameters
Pentaho Report Viewer parameter option. Default: false
iframe
Wheather to render the report inside an iframe or inline. Default: true (iframe)

Sample