Jasperreport"

From Documentation
Line 3: Line 3:
 
= Jasperreport =
 
= Jasperreport =
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#d3 Jasperreport]
+
*Demonstration: [http://www.zkoss.org/zkdemo/reporting/jasperreport Jasperreport]
 
*Java API: <javadoc>org.zkoss.zkex.zul.Jasperreport</javadoc>
 
*Java API: <javadoc>org.zkoss.zkex.zul.Jasperreport</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zkex.utl.Jasperreport</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zkex.utl.Jasperreport</javadoc>
 +
*Style Guide: N/A
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Line 34: Line 35:
 
</source>
 
</source>
  
=Supported events=
+
=Supported Events=
  
 
{| border="1" | width="100%"
 
{| border="1" | width="100%"
Line 43: Line 44:
 
| None
 
| None
 
|}
 
|}
 +
 +
*Inherited Supported Events: [[ZK_Component_Reference/Essential_Components/Iframe#Supported_Events | Iframe]]
  
 
=Supported Children=
 
=Supported Children=
Line 48: Line 51:
 
  *NONE
 
  *NONE
  
=Use cases=
+
=Use Cases=
  
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"

Revision as of 01:40, 16 November 2010

Jasperreport

Employment/Purpose

The JasperReport component. It is used to generate a Jasper report into an inline frame


Example

ZKComRef Jasperreport Examples.PNG

	<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

Name
Event Type
None None

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



Last Update : 2010/11/16

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.