prashant2228 Posted February 23, 2010 Share Posted February 23, 2010 In a JasperReport when "Report Options" icon (in the leftmost corner) is clicked, it shows a parameter form with a vertical list of paramters and their values. The following code snippet in "ViewReportControlsDialog.jsp" is responsible for this.<js:parametersForm reportName="${requestScope.reportUnit}" renderJsp="${requestScope.controlsDisplayForm}" onInputChange="resetReportOptionsSelect()"/>I want to change the appearance of this parameter list. Instead of vertical, need to make it horizonatal list.Is it easily possible ? Link to comment Share on other sites More sharing options...
swood Posted February 24, 2010 Share Posted February 24, 2010 Sure. You can change the default one: WEB-INF/jsp/DefaultParametersForm.jsp to get the change everywhere. Or your can create a custom JSP and set the parameter form on individual report units. Do you know you can get the parameters displaying horizontally above a report by setting the "Controls Layout" on a report unit? ShermanJaspersoft Link to comment Share on other sites More sharing options...
prashant2228 Posted February 26, 2010 Author Share Posted February 26, 2010 Thanks Sheman, that really helped. I modified the jsp to suit us.Note to self: Whenever encountring a <js:xxx> tag, check jasperserver.tld to find the custom tag and then dig into the mapped java class to find what the tag means. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now