Default values Input fields Date

0

Hello everybody,

How did I set default values for Imput fields in the Jasper server?

Example:
I have a report with which I evaluate working hours. There I limit the period via import fields. By default, 01/01 and 31/12 should be selected.

In Jasper Studio I have defined the parameter parameters and entered the default value expression "DATE (YEAR (new java.util.Date ()), 1,1)". Class: java.sql.Date


In the Jasperstudio I will also see the right one.

But if I transfer this now to the Jasperserver the fields are empty in the web interface.

Can anyone give me a hint?

rene_12's picture
Joined: Aug 29 2016 - 8:30am
Last seen: 1 month 2 weeks ago

0 Answers:

No answers yet
Feedback
randomness