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

dpackwood

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by dpackwood

  1. Using iReport 5.0.0 and JasperServer 4.8.0. I've created a scriptlet in my main report named "TEST". iReport automatically creates a parameter named "TEST_SCRIPTLET". I'm attempting to pass this scriptlet instance to my sub-report using the sub-reports parameters. That appears to be working ok. However, within the sub-report, I am unable to access the parameter (using $P{TEST_SCRIPTLET}), getting a "Parameter not found" error. I thought that perhaps I needed to create a parameter within the sub-report and map it to the passed value. However, creating a parameter manually set's is value to java.lang.String, and any attempts to access the methods of the scriptlet within the sub-report give errors that "String" does not support those methods. I've tried to set the sub-report parameter to "object" and every other option, but I get the same errors. Is there a way to pass a scriptlet to a sub-report and access the methods within the subreport? thanks in advance.
×
×
  • Create New...