Jump to content
We've recently updated our Privacy Statement, available here ×

maximeg13

Members
  • Posts

    3
  • Joined

  • Last visited

maximeg13's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hello, My problem is solved, I created my own HashMap parameter and it worked like a charm, I didn't even need to pass it as a subreport parameter, just to create it in main and sub reports and instanciate it in main. Thanks for your help ! Regards
  2. Hello, Thank you for your answer, I'll try to create my own HashMap and use it like I need. I'll also try the ScriptletClass if I can't make it work. Regards
  3. Hello, I’m facing a problem since I updated my Jasper Library from 3.0.0 to 6.6.0. I used to use the parameter “REPORT_PARAMETERS_MAP” in order to generate my summary. The main report contained subreport which filled this map and at the end of the generation, the summary used this parameter to create each title linked to its associated page. Now the problem is the following: The changes made on the parameter “REPORT_PARAMETERS_MAP” cannot be seen in the parent report. For example, if I do “$P{REPORT_PARAMETERS_MAP}.put (“Object1”, “Text”)” in a subreport, I won’t be able to get the value of the “Object1” elsewhere but in this report and its subreport. I use the REPORT_PARAMETERS_MAP as a parametersMapExpression in each call to a subreport. I read that the way to pass a map to a subreport changed in the 3.0.1 version but I still can’t find how to make it work. Do you have any ideas? Thanks.
×
×
  • Create New...