Jasperreport"
From Documentation
Jumperchen (talk | contribs) |
Jumperchen (talk | contribs) |
||
Line 7: | Line 7: | ||
*JavaScript API: <javadoc directory="jsdoc">zkex.utl.Jasperreport</javadoc> | *JavaScript API: <javadoc directory="jsdoc">zkex.utl.Jasperreport</javadoc> | ||
*Style Guide: N/A | *Style Guide: N/A | ||
+ | *[http://www.zkoss.org/product/edition.dsp Available in ZK PE and EE only] | ||
= Employment/Purpose = | = Employment/Purpose = |
Revision as of 10:43, 29 November 2010
Jasperreport
- Demonstration: Jasperreport
- Java API: Jasperreport
- JavaScript API: Jasperreport
- Style Guide: N/A
- Available in ZK PE and EE only
Employment/Purpose
The JasperReport component. It is used to generate a Jasper report into an inline frame
Example
<jasperreport id="report" height="360px" />
<zscript>
import org.zkoss.zkdemo.userguide.CustomDataSource;
//Preparing parameters
Map parameters = new HashMap();
parameters.put("ReportTitle", "Address Report");
parameters.put("DataFile", "CustomDataSource from java");
report.setSrc("/userguide/data/jasperreport.jasper");
report.setParameters(parameters);
report.setDatasource(new CustomDataSource());
report.setType("pdf");
</zscript>
Supported Events
None | None |
- Inherited Supported Events: Iframe
Supported Children
*NONE
Use Cases
Version | Description | Example Location |
---|---|---|
5.0.2 | How to use Dynamic Jasper Reports | http://www.zkoss.org/forum/listComment/10873 |
Version History
Version | Date | Content |
---|---|---|
5.0.1 | March 2010 | Support Hibernate and SQL connections |