A report can declare a number of parameters. Parameters represent named object
references that are passed-in to the report engine before the execution of the report.
These parameters can be used to provide additional information unknown at the moment of
report creation. Once declared, parameters can be referred to in expressions using a
dedicated syntax. JasperAssistant groups these declarations under a single
Parameters
node in the Outline View
. New
parameters can be added by using the context menu associated to this node.
Parameter Properties
Name
Name of the report parameter as it is used to refer to the parameter throughout the report.
Description
A short text description for the parameter. It's useful when prompting for the user to supply a value for the parameter at runtime.
For Prompting
Flag that indicates whether the user should be prompted for the parameter's value. Not that JasperReports does not implement the parameter prompting. This is the responsibility of the application, that hosts the report, to provide such functionality.
Default Value Expression
Specifies the parameter default value to use if not supplied by the parent application at runtime.
Value Class
Class of the parameter values.