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

okorng

Members
  • Posts

    2
  • 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 okorng

  1. I'm new to Jasper Reports and am trying to understand the best approach for populating a report. This report is being mapped from a legacy 33 page paper form where all the form inputs have been mapped to a wrapper java object, let's call the java object AlargeBean. That large bean object has a few immediate fields, all String's, a bean object field (which is itself comprised of simple Strings), and an array of another bean object which has simple Strings, and its own array of beans. Is there an advised approach to passing in that large populated object, AlargeBean, to the Jasper report and populating the report with it? Thanks for your pointers.
  2. I'm new to Jasper Reports and am having trouble referencing a nested bean field. I am running the standalone Jaspersoft Studio 6.0.4. I add a TextField to the Details band of the new Jasper Report, then double click on the TextField which opens the Expression Editor dialog, then I select the nested bean from the center list which displays all the getter function in the right-side list. I double-click one of the getters, "getCompanyLegalName()" and the corresponding expression gets added to the editor pane above. That expression is "$F{userRegistrationStatus}.getCompanyLegalName()" and it is accepted without any error message. I then click Finish, then compile the report, then click Preview. Upon trying to Preview the report it throws an exception stating: Why is it throwing that class cast exception? Since when can a class not be cast to itself?? What am I missing here?
×
×
  • Create New...