richardc Posted April 30, 2007 Share Posted April 30, 2007 How can I implement a dialog window for users to be prompted to enter in data before a report is run? I have the following code snippets: (1) java code for the parameter(s):Code:Map map = new HashMap();map.put("START_DATE", new Date());... (2) parameters in template: Code:[code]<parameter name="START_DATE" isForPrompting="true" class="java.util.Date" > <parameterDescription><![CDATA["Please enter a Start Date (mm/dd/yyyy)"]]></parameterDescription></parameter> When I run the report, no dialog window appears. Can you please give details on how to implement a simple dialog window for this? Link to comment Share on other sites More sharing options...
Teodor Danciu Posted May 2, 2007 Share Posted May 2, 2007 Hi, JasperReports is only a reporting library. It does not have dialogs an pop-ups to prompt you to enter values.This is something that your application should do.So you need to work on that.Otherwise, use iReport or JasperServer. I hope this helps.Teodor 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