How to use jquery or other javascript frame work in BIRT for client side scripting
Options
Comments
-
<p>mwilliams wrote up a good blog using jQuery to build a jVectorMap, take a look at <a data-ipb='nomediaparse' href='http://developer.actuate.com/community/forum/index.php?/blog/14/entry-496-using-external-javascript-libraries-with-birt-jquery-jvectormaps/'>this link</a> it should get you guys started with jQuery in BIRT. @RepBIRT what other frameworks were you thinking about using?</p>Warning No formatter is installed for the format ipb0
-
<p>What is the birt version you are using? Please provide me sample report if you have any</p>
0 -
<p>Hi,</p>
<p> </p>
<p>I am using Actuate Birt ihub 3.0.</p>
<p>I am not able to refer the Jquery library which is there in my resources.</p>
<p>So I am not able to create any working sample report.</p>
<p> </p>
<p>please help me out on this.</p>
<p> </p>
<p>Thanks,</p>
<p>Prabal</p>
0 -
<p>You will need to include the jquery js file from an application that is hosting it in the text box like you would on a standard web page.</p>
<p>For example, using the version hosted by Google:</p>
<pre class="_prettyXprint _lang-js">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
</pre>Warning No formatter is installed for the format ipb0 -
<p>Hi Jesse,<br>
<br>
I tried to include the jquery calender in a report but it is not working for me.<br>
I created a html file to include the jquery calender . Then i tried to create the same within a report. But i was not able to get it working.<br>
Please find the files attached.<br>
can you please help me on this.<br>
<br>
Thanks,<br>
Prabal</p>
0 -
<p>I had forgotten that within the newer iHub releases jQuery and jQuery UI are already bundled into the installation. Instead of working with them externally, you can use the bundled versions. I modified your code in the text element to use the internal jQuery UI call to get it working.</p>
<p> </p>
<p>For example:</p>
<pre class="_prettyXprint _lang-js">
<p>Date: <input type="text" id="datepicker"></p>
<script>
$(function() {
actuate.common.web.$("#datepicker").datepicker();
});
</script>
</pre>
<p>I also had to modify the loading of the jQuery UI CSS file to use head.js in the clientInitalize of the client scripts for the report:</p>
<pre class="_prettyXprint _lang-js">
head.js('http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css');
</pre>
<p>With both of these changes in place, the jQuery UI Date picker is working properly.</p>
<p>Take a look at the attached, modified version of your example report with these changes in place.</p>
Warning No formatter is installed for the format ipb0 -
i am working on BIRT 4.6.0 , facing problem like same to use date filter with the use of HTML text element.
please help me out0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management