Jump to content
Changes to the Jaspersoft community edition download ×

Is For Prompting - Dialog Window?


richardc

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...