Wednesday, February 29, 2012

include an external javascript file on birt report client-side

1) Modify the BIRT viewer (either open source viewer or the iPortal) to include your client-side .js files. This can be done by changing one of the JSP files to include the .js file

2) In the report design, drag and drop a “text” report item at the top of your report design. Change the format type to “HTML”. Any html code you put in there, will output to the screen when the report runs. You can put html controls, javascript functions and other things just like a normal web page.

No comments:

Post a Comment