【问题标题】:How to add Jasper Report to JDeveloper如何将 Jasper 报告添加到 JDeveloper
【发布时间】:2012-03-04 17:38:23
【问题描述】:

我使用 iReport 工具制作了一份报告。但我不知道如何将该报告添加到 JDeveloper 中的项目中。如果可能,请告诉我如何将变量从类添加到报告中。

【问题讨论】:

  • how to add variable from class to Report 是什么意思?您是在谈论 JasperReports API 吗?
  • 不,我只想将值传递给 iReport 工具生成的 .xml 文件。
  • 您应该使用 JasperReports API 将变量(参数等)传递给报告

标签: java jasper-reports ireport jdeveloper


【解决方案1】:

要向 jasper 报告添加变量,您需要向 jasper 报告添加参数。您可以在菜单栏上找到这些选项。在 Java 中,您可以添加参数方法来传递变量的值。addProperty(variable_name,value)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-01-31
    相关资源
    最近更新 更多