基于 Applet 的 Jasper 报告!
我正在做的事情是在 Web 浏览器中的 JApplet 中显示 Jasper Report。除了两个之外,一切都工作正常。
我的报告的详细信息部分未显示在小程序中。我确信报告填充没有问题,因为显示在其他部分(如页眉)中的查询字段的值。仅缺少细节部分。谁能提供一些有关原因的 idae?
小程序中 JR Viewer 的“保存”按钮不起作用。有意见吗?
The thing I am doing is displaying Jasper Report in an JApplet in web browser. Eeverything is working fine except two.
The detail section of my report is not showing up in the applet. I'm sure that there is no issue with the report filling as the values of query fields put in other sections like page header are showing up. Only the detail section is missing. Can anyone give some idae about the cause?
The SAVE button of the JR Viewer in the applet is not working. Any comments?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
关于第一个问题,Detail部分(与其他部分不同)关系到整个报表的数据查询。因此,您应该确保报表查询至少返回一条记录才能显示“详细信息”部分。
建议,您可以将报告导出为PDF并使用浏览器打开它,我相信这比每次加载Applet更好。
About the first question, the Detail section (unlike other sections) is related to the Data Query of the entire report. So you should make sure the report query is returning at least one record for the Detail section to appear.
Suggestion, you can export your report to PDF and open it using the browser, I believe this would be better than loading an Applet each time.