You have to specify what field you’re using in your sub report. You are passing $F{}
and as you are passing a List<String>
as a DataSource you should put $F{_THIS}
. Of course you have to add a field with that name too, only doing that you can use the expression $F{somefield}
.
More Related Contents:
- Jasper Reports PDF doesn’t export cyrillic values
- How to show/hide a column at runtime?
- How to display a svg byte array as an image in a JasperReport?
- Using JasperReports with a relative path
- Change text field data color (Foreground color) based on condition in JasperReports
- How can I test if my font is rendered correctly in pdf?
- formatting a string to a currency format in jasper report
- How do I compile jrxml to get jasper?
- Blank PDF even with the simplest Jasperreport jrxml
- How to show an image on jasper report?
- How can I export report to PDF/A-1a, PDF/A-1b?
- Unable to retrieve value from a JavaBean while generating reports using JasperReports API
- Generate Jasper report with subreport from java
- My Jasper Template shows no text
- Combining two Jasper reports
- How to collate multiple jrxml jasper reports into a one single pdf output file
- How to print several reports with barcode \ or several barcodes in one report
- JasperReports: CONCATENATE function not found
- Can’t load jrxml located in jar file via JRXmlLoader: getting java.io.FileNotFoundException [duplicate]
- How to show JRBeanCollectionDataSource data with help of Table component?
- java.io.StreamCorruptedException: invalid stream header: EFBFBDEF
- JasperReport – wrap text to show long text in textfield
- JasperReports NoClassDefFoundError exception on net.sf.jasperreports.engine.util.JRStyledTextParser
- Error Occured in jasperReport File
- How to fill report using JSON datasource without getting null values?
- Dynamic column cell width
- iReport external font
- How to view an image from blob column in Oracle with JasperReports?
- How/Can I use base64 as image source in a Jasper Report template?
- PDF Generation Library for Java [closed]