-
Posts
15 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by Yuriy Plakosh
-
-
To do JavaScript customizations for JRS 8.x+ the source code (not bundled chunks) should be used. The source code is provided as a separate artifact (<name>_<version>_src.zip) and is different from binary distribution (<name>_<version>_bin.zip).
-
-
If you need jQuery just include it in your JSP with a script tag like
<script src="${pageContext.request.contextPath}/scripts/jquery.js"></script>[/code]
If you need it for multiple pages you can include it in decoratorMinimalImports.jsp
You also need to place your own copy of jquery.js into your scripts folder.
-
-
For a proper way of loading CSS files see how it is done in decoratorMinimalImports.jsp:
<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="jquery-ui/jquery-ui.css"/>" type="text/css" media="screen,print"/>[/code]
- 1
-
No references to 3rd party libraries in the global scope
Starting JRS 8.0.0 the libraries used by JRS will not be exposed to the global scope. Because of that, an attempt to use jQuery from the global scope will not work unless jQuery is added to the global scope by your custom code.
Use DOM API instead
In JSP where your JavaScript code is, replace:
jQuery(document).on("controls:initialized", function(event, controlsViewModel) {[/code]
with
document.addEventListener("controls:initialized", function(event, others) { var controlsViewModel = event.detail;[/code]
-
Unfortunately, the macOS installer of JasperReports Server 7.5.0 does not work on macOS Catalina. It is the installer issue.
Please, use a binary installer instead to install JasperReports Server 7.5.0 on macOS Catalina.
-
At the moment there is no i18n support for resources' names and folders' names.
-
1) You can modify default color palette used for Ad Hoc View based charts in scripts/adhoc/highchart.datamapper.js file:
//// the highcharts default color palette//colors: ['#4572A7','#AA4643','#89A54E','#80699B','#3D96AE','#DB843D','#92A8CD','#A47D7C','#B5CA92'],You can modify these colors, add new and/or remove existing ones.2) You can disable legend by addinglegend: {enabled: false},option to default options used in scripts/adhoc/highcharts.api.js file:var highchartsOptions = {chart: {renderTo: 'chartContainer',zoomType: 'xy',jrstype: chartState.chartType,type: HighchartsDataMapper.cast[chartState.chartType]},legend: {enabled: false},credits: {enabled: false},tooltip: {valueDecimals: 2},title: {// Skip internal Highcharts title.text: null}};Have in mind that changes will be applied to all Ad Hoc View based charts.
-
I tested it on Windows 8 in Firefox, Google Chrome and IE. It works.
Can you provide more details: browser, application server etc?
-
The problem is already fixed.
It will be shipped in next release.
The following URI will be used to select adhoc folder: http://localhost:8080/jasperserver-pro/flow.html?_flowId=searchFlow&folderUri=/adhoc
Post Edited by yplakosh at 03/25/2012 12:50
Jasper Server 8.0.0 runtime_dependencies folder missing
in Products
Posted
JRS commercial edition is based on the source files from the ce and pro folders. Whatever you find in <name>_<version>_src.zip is used to build the final commercial JRS. So, yes you can use files from the ce folder.