Hi,
I've defined a report in jaspersoft studio which is properly working. In this report, I pass a parameter $P!{P1} to the query, which depends on another parameter $P{P2}. I've updated the jrmxl file to jasperserver and defined both input control fields, but when I set P2 to its value, it is not passed to P1 and I get a null error. How can I fix this?
Thanks in advance!
2 Answers:
I add new info. If I set a default value expression to P1, P2 is correctly generated, but If I modify its value, P2 value is not refreshed. Could be any problem depending on the type of the input controls?Could be possible to do it with cascading input controls (I've been reading and I don't see the way, but seems an option)?
Plus, I have dupicate my params, showing the duplicated ones in the report and hardcoding the original ones to make the report work. When I execute the report, the params are correctly printed, so I don't understand anything :S
Please, this the key to have my report (and some similar reports) fully working. I understand that if it works in Jaspersoft Studio there should be some way to make it work in Jasperserver. I have all the input controls created, the dependant ones "only read" type, and the "master" defined before both as parameter and input control.
Please, if anyone has any lead in this topic it would be really helpful. Thanks in advance.