Jump to content
We've recently updated our Privacy Statement, available here ×

blackadder

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by blackadder

  1. Hi all. I'm using an arrayList which contains in each position a HashMap with the keys,and the values. when i'm compiling the error is: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. JRBeanCollectionDataSource cannot be resolved to a type value = (net.sf.jasperreports.engine.JRDataSource)(new JRBeanCollectionDataSource(((java.util.Collection)field_datosListado.getValue()))); //$JR_EXPR_ID=26$ <------------------------> 2. JRBeanCollectionDataSource cannot be resolved to a type value = (net.sf.jasperreports.engine.JRDataSource)(new JRBeanCollectionDataSource(((java.util.Collection)field_datosListado.getOldValue()))); //$JR_EXPR_ID=26$ <------------------------> 3. JRBeanCollectionDataSource cannot be resolved to a type value = (net.sf.jasperreports.engine.JRDataSource)(new JRBeanCollectionDataSource(((java.util.Collection)field_datosListado.getValue()))); //$JR_EXPR_ID=26$ <------------------------> 3 errors In the Data Source Expression propertie in the subreport i have this: new JRBeanCollectionDataSource($F{datosListado}) where datosListado is the field of the master report which have the arrayList.I have tried with field class like Collection,list and object and the error is the same. I don't know what to do. Thank you very much Post Edited by blackadder at 04/23/2009 09:13 Post Edited by blackadder at 04/23/2009 09:14
  2. Hello. First of all,please forgive my bad english, i'm not very good whit it. I'm a newbie whit Ireport and i have some questios that i like to ask.The easiest first. 1º) I have to print one rectangle in the background of the records to make the odd records look direferent.How can i do do to print one record yes and one no the rectangle in the background. 2º) I have the total fields in the column footer of the report,but if i don't have enough records to fill a page,these fields stay at the bottom of the page and i want to fill whit blank records the gape between the records and the column footer. 3º) i have all the data en a map that i passed like recordset,but i have the record data (the part that i want to show in the detail) inside of an array list and i don't know how to show the records(maybe in a subreport ????) the recordset estructure: •image – java.io.file •name – java.lang.String •account – java.lang.String •prize – java.math.BigDecimal •season – java.lang.String •dataList – java.util.ArrayList. In each position of this Array there is a Map whit the following keys: o date – java.util.Date o import - java.math.BigDecimal o sales - java.math.BigDecimal o incomes - java.math.BigDecimal o exports - java.lang.String o shape - java.math.BigDecimal •Charge – java.lang.String •dni – java.lang.String •responsability – java.lang.String thank you very much and best regards
×
×
  • Create New...