Reviewing JSAPI integration
This application uses JSAPI to display BIRT visualizations in DIV tags of a web page. The application loads JSAPI using the jQuery method getScript, located in controller.js.
JSAPI communicates with the iHub server using the authentication values used in the REST API login request. The JSAPI then extracts content from the report generated by the REST API and displays each item in the report in a different DIV tag. Bookmarks are a method to identify content in a BIRT report, such as charts, tables, or a grid including both charts and tables.
This application uses JSAPI to complete the following tasks:
*Create a BIRT viewer in different DIV elements on the web page
*Load report items for the selected state into each instance of BIRT viewer
For more information about embedding BIRT visualizations in HTML see Integrating Applications into BIRT iHub. More information about using JSAPI can also be found at the following URL:
http://developer.actuate.com/resources/documentation/ihubftype/integration/