0

I created a report template using iReport.
I want to show that report template in Jaspersoft Studio too.
The problem is printWhenExpression tag does not work properly in Jaspersoft Studio so nothing is filtered.

Is that normal?

Alex K
  • 22,315
  • 19
  • 108
  • 236
deeperwhite
  • 87
  • 1
  • 3
  • 9

1 Answers1

0

I found the problem. I choose the language Groovy in iReports and Java in Jaspersoft Studio. It causes not to work "==" and "!=" operators in java which work fine Groove. I changed the language to Java and replaced those operators with equals() or new Boolean(!$F{field_name}.equals(Object)).

deeperwhite
  • 87
  • 1
  • 3
  • 9