Get a calendar to pick dates in Jasper server.

0

I have a report with rundate,datefrom, dateto as input parameters with class type java.util.Date to pick dates as calendar , to generate report for specified dates. But when published on Jasper server, I dont get the calendar to pick dates. I get input control text box to type dates. So how to get calendar to pick dates ??and in dd/MM/yyyy date format??(default is mm/dd/yy). I need calendar similar as below:

vanjaxi.sm's picture
Joined: Dec 17 2015 - 1:41am
Last seen: 3 years 8 months ago

@Sadakar Pochampalli how do I get calendar with icon (visible )to pick dates. I dont want text box  to be displayed and if text box cant be changed then it should accept only only valid dates and not any text. Though  I used the input control wizard to get calendar by changing the input control data type for dates in Jasper Server. But still Text box is visible and calendar icon is invisible but when i click outside the text box i get calendar to pick dates. Hope my question is not confusing.

 

 

vanjaxi.sm - 3 years 9 months ago

1 Answer:

0

You need to change the format of dates in jasperserver_config.properties.

(below is Linux installation path)

/opt/jasperreports-server-5.5/apache-tomcat/webapps/jasperserver-pro/WEB-
INF/bundles/jasperserver_config.properties

I had similar try long back, you can find more infromation on my experiment at : http://jasper-bi-suite.blogspot.in/2014/03/jasper-server-calendar-date-i...

Hope this helps you.

Thanks,

Sadakar Pochampalli

sadakar's picture
627
Joined: Aug 14 2012 - 3:57am
Last seen: 1 week 4 days ago
Feedback
randomness