Jump to content
Changes to the Jaspersoft community edition download ×

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


daningaddr

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 jasperserverWEB-INFjspmodulesinputControlsInputControlTemplates.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.

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...