ExecutePrptComponent

Description

Excecutes a prpt and displays the result on a new pop-up window.

Options

name
The name of the component
type
executePrpt
listeners
Array - Parameters who this component will react to
parameters
Array of Arrays - Parameters to pass to the report
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)
htmlObject
Id of the component (usually a div or a span tag) to be replaced by the result. It can point to a button or link
refreshPeriod
Time in seconds for this component to refresh. Default is 0 (disabled)
label
Text to be used on the generated button (only used if htmlObject points to a div/span)
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
paginate
Pentaho Report Viewer paginate option. Default: false
showParameters
Pentaho Report Viewer parameter option. Default: false

Sample