michael.kolowicz Posted November 30, 2014 Share Posted November 30, 2014 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now