Jump to content
We've recently updated our Privacy Statement, available here ×

JasperViewer - how to show the input controls


michael.kolowicz

Recommended Posts

I have following code snippet:

ResourceDescriptor rd = new ResourceDescriptor();                rd.setWsType(ResourceDescriptor.TYPE_REPORTUNIT);                rd.setUriString(reportData.reporturi);                jasperPrint = server.getWSClient().runReport(rd,                        reportData.params);                // Vorschau anzeigen                if (reportData.preview!=false)                {                    // isExitOnClose = wenn die Vorschau geschlossen wird, dann wird die                    // Anwendung beendet (JVM geschlossen)                    JasperViewer.viewReport(jasperPrint, false);                }[/code]

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?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...