gombs Posted February 9, 2007 Share Posted February 9, 2007 Hey CoDeRs, I have an tree of subreports and masterreports. When I compiled and file the highest masterreport, all other reports must compile first, ok. But is it possible to compile all other before, without compile explict... I think like this: JasperReport report =JasperRecursiveCompileManager.compileReport("jasper/Master.jrxml"); or must I explicit compile the subreport at lowest and then go higher and higher ? Thanks for reading Link to comment Share on other sites More sharing options...
C-Box Posted February 9, 2007 Share Posted February 9, 2007 Isn't it completly regardless which report is compiled first and which last? The masterreport doesn't need any subreport when just compiling. The main thing is, that at filltime all subreports are present via filesystem/classpath or perhaps parameter or whatever. hthC-Box Link to comment Share on other sites More sharing options...
gombs Posted February 10, 2007 Author Share Posted February 10, 2007 ok, I have described it wrong. I want to compile and fill recursive.Is it possible with only one function call or respectively two ( one for compile and one for fill ). Must my application know which subreport are parts of my masterreport and which subreport are parts of this subreport(s)? Then I must have a config-data to know which filles I must compile ? Link to comment Share on other sites More sharing options...
gombs Posted February 13, 2007 Author Share Posted February 13, 2007 nobody needs this function before me? 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