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

charioteer7

Members
  • Posts

    1
  • Joined

  • Last visited

charioteer7'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. This is a Jasper Reports Java API question: I am trying to add a parameter that will be accessible to the report after the JasperFillManager has created the JasperPrint object. I want certain things conditionally printed on the report depending on the export format: PDF, XLS, etc. But the report is filled and baked on one screen, and then the user chooses the report format on another screen before the exporter exports it. I cannot see the original parameters that were put into the report before the JasperPrint object was created and can find no way to add another param. I tried jasperPrint.setProperty(), SimpleReportContext.setParameterValue(), then put context into exporter. None of these parameters are visible in a print when expression. Any ideas, other than get the format type at the outset from the user? Many Thanks in advance.
×
×
  • Create New...