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

Wanderer

Members
  • Posts

    5
  • Joined

  • Last visited

Wanderer's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. Hi, Thanks a lot. I omitted this ability. :( As I understood, you propose something like follow: Code: <parametersMapExpression> <![CDATA[$P{REPORT_PARAMETERS_MAP}]]> + $P{SubName}:="sub1.jasper" </parametersMapExpression> <subreportExpression class="net.sf.jasperreports.engine.base.JasperReport"> <![CDATA["SubreportCustomizer.class"]]> </subreportExpression> Than, in SubreportCustomizer constructor, load and update subreport <$P{SubName}>. Is it right? But, in this case needs dynamic parameter $P{SubName}, because I have few reports which are contain more than one subreports. Can I use $V{SubName} instead of $P{SubName}? Is the $V-map common for report and subreports in contrast to $P-maps? WBR, Wanderer.
  2. I have proposition about very small redesign of JRBaseFiller. Subreports in my projects are changing before filling. So, I must preload, change and put subreports into JRBaseFiller.loadedSubreports. I propose to move initialization of the loadedSubreport field into declaration instead of fill() method. E.g. for ver 1.2.5: Change line 247: protected Map loadedSubreports = new HashMap(); Exclude line 751: loadedSubreports = new HashMap(); WBR, Wanderer.
×
×
  • Create New...