Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
Using JavaScript API to display report in Joomla website
Migrateduser
<p>Hi,<br>
<br>
I am trying use the JavaScript API to display a report in a Joomla web page. <br>
<br>
So to test it out, I created an article and used a plug-in that enables me to code directly within the article (i.e. use php, javascript, html etc.). I have used this plugin on numerous occasions and it works very well.</p>
<p> </p>
<p>Script is as shown: </p>
<pre class="_prettyXprint _lang-html">
<html>
<BODY onload='init()'>
<script type='text/javascript' language='JavaScript' src='http://192.168.0.177:8080/myapp/jsapi'></script>
<script type='text/javascript'>
function init( ){
actuate.load('viewer');
actuate.initialize('http://192.168.0.177:8080/myapp', null,null,null,myInit);
}
function myInit(){
viewer1 = new actuate.Viewer('cont1');
viewer1.setReportDesign('/test.rptdesign');
viewer1.submit( );
}
</script>
<table>
<tr>
<td><div id='cont1' style=' border-width: 0px; border-style: solid;' /></td>
</tr>
</table>
</BODY>
</html>
</pre>
<p> <br>
<br>
When I view the page all I get is the spinning animation...but nothing is displayed. Please see Image 1 attached:
Find more posts tagged with
Comments
There are no comments yet