mcota_1
-
Posts
8 -
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 mcota_1
-
-
Please refer to the following:
<html>
<head>
<script src="http://127.0.0.1:8080/jasperserver-pro/client/visualize.js?_opt=false"></script>
</head>
<body>
<div id="reportContainer">Loading..</div>
<script>
visualize({
//server: "http://127.0.0.1:8080/jasperserver-pro",
auth: {
name: "jasperadmin",
password: "jasperadmin",
organization: "organization_1" }
}, function (v) {
v("#reportContainer").report({
resource: "/public/Samples/Reports/01._Geographic_Results_by_Segment_Report", defaultJiveUi: { enabled: false },
error: handleError });
function handleError(err){
alert(err.message);
} });
</script>
</body>
</html>
============================
jsfiddle: http://jsfiddle.net/zwr2ohtz/
-
Please update the script src with ?_opt=false
see jsfiddle example:
http://jsfiddle.net/qw35fmys/4/
script src=http://localhost:8080/jasperserver-pro/client/visualize.js?_opt=false
-
Please try the solution on the link below.
http://community.jaspersoft.com/questions/540414/config-jsquartzproperties-use-gmail
-
Try step 2 and move the table element to a different band, than the subreport element reside in.
Please make sure that the table band is in a band lower than the subreport element.
Example:
Place the subreport element in the Title band and the table element in the summary band.
Thank you,
Mauricio
-
There is a known issue on 5.6 and they should be fixing the issue on 5.6.1.step-by-step solution:
1. Edit report.view.runtime.js file in /scripts folder. After line #93 (Controls.initialize.bind(Controls)(Report.refreshReport);) insert following line of code:
jQuery(document).trigger("report:controls_initialized");
2. Turn off JavaScript optimization according toFind file <jasperserver>/WEB-INF/js.config.properties and set it's property:javascript.optimize=false -
Please note that if you are using for example a table element in the detail band, The detail band will repeat itself for every single read record.
Example: if you have a query that returns 2 rows, the detail band will run twice. If you insert a table element in the detail band,
then you will get 2 identicial tables with the same values.Refer to the Jaspersoft Studio User Guide.
Visualize js in plain HTML
in Products
Posted
http://jsfiddle.net/zwr2ohtz/3/
What JasperReport Server version are you using?
Thank you