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

ksk

Members
  • Posts

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

Posts posted by ksk

  1. Trying to put the following expression in the Data Source Expression:

    ((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{REPORT_DATA_SOURCE}).dataSource("/Northwind/Customers") 

    It gives an error in the expression editor that says:

    Current expression is not valid.  Please verify it!

    I know that is a valid expression so why would it be getting this error?

  2. I'm try to do a json subreport connected to the Northwind sample database and I'm reading all over that I need the following expression in the subreport DataSourceExpression:

    ((net.sf.jasperreports.engine.data.JsonDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("Orders")

    Yet, when I try to put it in the expression editor it tells me:

    The current expression is not valid. Please verify it!

    Any ideas what I'm doing wrong?

×
×
  • Create New...