yskripch Posted July 9, 2008 Share Posted July 9, 2008 Hello, I am trying to make it so that the dates that the user input can be restricted to a certain range. Is there a way to set a maximum range for the date that is input in JasperServer? Or does this need to be included in the SQL quary? Or should I just write a java class that compares the StartDate and EndDate parameters and see if they exceed the maximum? Let me know what can be done and if there is a way to do it without writing a java please give me a basic walkthrough for it. Thanks in advance. Link to comment Share on other sites More sharing options...
swood Posted July 11, 2008 Share Posted July 11, 2008 At the moment, you will need to create a custom JSP to do this. There is a JSP for parameters that can be set for a report. Look at the DefaultParametersForm.jsp that is the default which you can copy and modify. ShermanJaspersoft Link to comment Share on other sites More sharing options...
lonestarbeer Posted June 20, 2011 Share Posted June 20, 2011 Sherman,I'm looking to provide a similar solution to end users that will be scheduling reports. I noticed that this question is several years old. Does the functionality to limit a date range still not exist in JasperServer? To clarify, the JSP option to set for a Report can be report specific, and not modifying DefaultParametersForm.jsp which would affect all reports?Thanks,Jarrett 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