Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is a quick tutorial on using an HTML form to pass parameters to the JasperReports UI Menu, to demonstrate how to filter the results of a report based on input values.

...

Then, write in the code as seen in the "UI > Custom Header" option, as shown in the screenshot below. The code specified here will create a HTML form to allow filter values to be submitted.

After then, use the Request Parameters Hash Variable to re-populate the submitted value.

...

After a form is created, configure the Report Parameters with the help of Request Parameters Hash Variable.

Thai

หลังจากสร้างฟอร์มแล้วให้กำหนดค่าพารามิเตอร์รายงานด้วยความช่วยเหลือของ Request Parameters Hash Variable

...