Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用iReport创建了一个报告模板。 我也想在Jaspersoft Studio中显示该报告模板。问题是 printWhenExpression 标签在Jaspersoft Studio 中无法正常工作,因此没有过滤任何内容。
这正常吗?
我发现了问题。我在 iReports 中选择 Groovy 语言,在 Jaspersoft Studio 中选择 Java。它导致不能在 java 中正常工作的“==”和“!=”操作符 Groove。我将语言更改为 Java,并将这些运算符替换为 equals() 或 new Boolean(!$F{field_name}.equals(Object))。