JasperViewer - how to show the input controls

I have following code snippet:

ResourceDescriptor rd = new ResourceDescriptor();
                jasperPrint = server.getWSClient().runReport(rd,
                // Vorschau anzeigen
                if (reportData.preview!=false)
                    // isExitOnClose = wenn die Vorschau geschlossen wird, dann wird die
                    // Anwendung beendet (JVM geschlossen)
                    JasperViewer.viewReport(jasperPrint, false);

I open a report from my JasperReport Server. If the reports have no paramters, they work fine.

Now I want to open a report with input controls.

But i have not found via google a working sample that show the paramters-dialog and then run the report. How can I do it?

michael.kolowicz's picture
Joined: Jul 23 2014 - 4:33am
Last seen: 3 months 4 days ago

0 Answers:

No answers yet