Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
这是一个使用HTML表单将参数传递给JasperReports Reporting Integration Userview Menu的快速教程 ,演示如何根据输入值过滤报表结果。
首先,在您的UserView Builder中添加一个Jasper Report菜单,并配置JRXML,如本链接所示 。然后,在“UI> Custom Header”选项中创建一个HTML表单,如下面的屏幕截图所示。使用 Request Parameters Hash Variable 来重新填充提交的值。
在创建表单后,借助
This is a quick tutorial on using an HTML form to pass parameters to the Jasper Report Userview Menu (Enterprise), to demonstrate how to filter the results of a report based on input values.
First, add a Jasper Report menu into your Userview Builder and configure the JRXML as shown in this link. Then, create an HTML form in the "UI > Custom Header" option as shown in the screenshot below. Use the Request Parameters Hash Variable to re-populate a submitted value.
After a form is created, configure the Report Parameters with the help of Request Parameters Hash Variable.配置报表参数
Now, your report is ready with the filtering feature. The screenshots below shows the end result.现在,您的报告已经准备好了过滤功能。下面的屏幕截图显示了最终结果。
1. Before any value is keyed in for the filter:在过滤器输入任何值之前:
2. After a "j" is typed in the filter field and the submit button is clicked:在过滤器字段中键入“j”并单击提交按钮后:
Sample App : APP_jasper-1-20141007164459.zip