inaasho Posted June 2, 2010 Share Posted June 2, 2010 We have two levels of subreports configured in Spring. We could able to display reports for one level & not for the second level.It is working good in iReport & not with the Spring integration.Following are the configuration in views.properties.CUSIP_Position_Detail_Report.class=reports.web.util.CustomJasperReportsMultiFormatViewCUSIP_Position_Detail_Report.url=/WEB-INF/reports/rdp/CUSIP_position_report.jasperCUSIP_Position_Detail_Report.jdbcDataSource(ref)=dataSourceCUSIP_Position_Detail_Report.subReportUrls=cdnSub=/WEB-INF/reports/CUSIP_PSTN.jasper\naspSub=/WEB-INF/reports/CUSIP_PSTN.jasper\ncommonSub=/WEB-INF/reports/CUSIP_PSTN.jasper\ncsdSub=/WEB-INF/reports/CUSIP_PSTN.jasper\navcSub=/WEB-INF/reports/CUSIP_PSTN.jasper\npreSub=/WEB-INF/reports/CUSIP_PSTN_Pre.jasper\nvultSub=/WEB-INF/reports/CUSIP.jasperIf we include "adjSub=/WEB-INF/reports/CUSIP_PSTN_Adjust.jasper" to CUSIP_Position_Detail_Report.subReportUrls, third level reports will override their corresponding main reports.Can u pls help to configure second level of subreports in Spring. Link to comment Share on other sites More sharing options...
nnvph123 Posted September 14, 2010 Share Posted September 14, 2010 HI..were u able to figure this out ? i have the same error.. please let me know .. Link to comment Share on other sites More sharing options...
webdevmonkey Posted September 17, 2010 Share Posted September 17, 2010 I have found subreports to only be useful when using SQL as a datasource in simple reports. You will gain the most efficiency by switching to javabean datasources - they are 10x more flexible. Sorry, not the answer you were looking for, but it is a lesson I learned after many hours of wasted time with subreports. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now