siddharth.goel Posted May 27, 2016 Share Posted May 27, 2016 In JasperReport I have implemented validation logic of the input control parameters. Now the problem is that when I throw a JRScriptletException from my code then I can see the error stack trace on JasperReports Server page. I want to achieve that the JasperReport server page should show a dialog box with a meaningful error message upon failing a validation. How can I achieve the same? Link to comment Share on other sites More sharing options...
hozawa Posted May 30, 2016 Share Posted May 30, 2016 You'll just have to catch error in your scriplet code and set an error message when there is an error in report text field. Link to comment Share on other sites More sharing options...
siddharth.goel Posted June 8, 2016 Author Share Posted June 8, 2016 @hozawa and how do you exactly set that error message in Scriptlet code? 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