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

itworker

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

Security Advisories

Downloads

Everything posted by itworker

  1. I have create in Report variable with type of 'myJavaClass' (eg: 'Value Class Name' -> de.testlib.jasper.myJavaClass). The JavaClass with the name 'myJavaClass.java' I created before: This JavaClass has getter and setter for Java variables. I need myJavaClass.java for manipulate the values I get from Jasper. In next step I want to use this JavaClass as variable in Jasper as variable. But I have a big problem how to define expresions (Initial Value Expression, Increment type, Incrementer Factory Class Name). A) Initial Value Expression: 'new myJavaClass()' B) Expression: '$V{myJavaClass}.add(3)' In the groupefooter I have a field to get the value of '$V{myJavaClass}' with '$V{myJavaClass}.getData()' When I start the Report I get the Exception with message, that it is not possible to set value in the JavaClass. Why isn't possible to set value to myJavaClass with Jasper? I thing it should be possible, but how? I'm looking for any ideas... -itworker-
×
×
  • Create New...