Jump to content
JasperReports Library 7.0 is now available ×

recursive compiling of reports


gombs

Recommended Posts

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

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.

 

hth

C-Box

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...