iReportHelp Posted August 9, 2006 Share Posted August 9, 2006 Hi, When I create the report with subreports (version 1.2.5) using ireport. There is the automatic created SUBREPORT_DIR to specify where the subreport is (I think the old version that I used a while ago didn't have that). In my Java code with Jasper report, I can't not overwrite the value for this parameter SUBREPORT_DIR. I set up all the parameters in the Map parameters and use the method JasperFillManager.fillReport(java.lang.String sourceFileName, java.util.Map parameters, java.sql.Connection connection) to fill my report. The parameter SUBREPORT_DIR is still remember my default value if I set the default value in iReport or null if I didn't specify it in the iReport. Since my development env is different than production env, it is a must that I have to somehow be able to overwrite it. Please help. Thanks. 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