gabriel.gagnon Posted May 6, 2014 Share Posted May 6, 2014 Hello all, I have 2 reports, each taking a list of clients as a parameter. The default value of each is the user current clients, but he can change it if i want to. I have an hyperlink from the first report to the second one. If the user want ALL the clients, he leave the field empty, but as soon as i pass the empty list to the second report, it use the default value of the user clients. I want to keep the default value, and I dont want to send a list with all the clients since it would be too huge. I tried passing a null value, an empty list, a list with null but nothing worked. Is there any way around that? I'm on JasperReport Server 5.5. Link to comment Share on other sites More sharing options...
sadakar Posted May 7, 2014 Share Posted May 7, 2014 Pass the field valueparamName=F{fieldName}. Link to comment Share on other sites More sharing options...
gabriel.gagnon Posted May 7, 2014 Author Share Posted May 7, 2014 The problem is the value I have to pass is an empty array, and it seems the second report think that since the array is empty, it has to use the default parameter instead of nothing. 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