Code execution continues while displaying Jasper Report

Hello everyone,

Is there a way to pause code execution while displaying a Jasper Report? Currently we have processes that display validation reports and the process shouldn’t continue until the user closes the report, however that’s not how the plugin behaves. Is there a way around this?

Regards,
JD

JD,

We got around this by using a modal window that displays the report in the Jasper bean (you can get the bean at Servoy Forge). Note that this does not pause your code from running but prevents the user from doing anything until the report window is closed (which is what we wanted).

Does this help?

Hello, that’s exactly what we want to do. That would solve our issue when running from the servoy client, have you managed to do a workaround when running from a webclient?

Thanks.

Sorry, I have no experience running Jasper Reports in web client. We use the Servoy JasperReports Plugin, and I vaguely recall that it is client-based only. Perhaps, someone else could verify this?

Yep, it only works in the smart client, in the web client Jasper Reports get downloaded as PDFs. I guess we’ll have to do workarounds in our program’s logic so that it doesn’t depend on the user having to review and close a report before continuing.

Thanks!