Is there a way to change font color and size for the text of input control?

I tried to add html tag in the "Prompt Text", but it does not work.

Thanks,

Daning

 

daningaddr's picture
Joined: Oct 18 2012 - 3:36pm
Last seen: 9 years 5 months ago

1 Answer:

Hello, Daning.

There is no fully dynamic way to change color, font or other properties of input controls.

There are two supported ways for now:

1. Add css class for input controls definition in jasperserver\WEB-INF\jsp\modules\inputControls\InputControlTemplates.jsp - this will change look&feel of controls in all reports which use default report parameters form. (works for JasperReports Server of version 4.7.1 or later)

2. Change report parameters form for specific report(s) - go to Edit report -> Customization -> JSP Location   

and set path to custom parameters form jsp (you can copy&paste DefaultParametersForm.jsp and customize it). This way allows you to customize input controls only for specific report(s)

 

Thanks,

Sergey.

sprilukin's picture
547
Joined: Jul 26 2011 - 7:08am
Last seen: 1 year 9 months ago
Feedback