Project

General

Profile

Servoy JasperReports Plugin v.3.1.0 Beta 1 has been released

We are pleased to announce the immediate availability of the Servoy JasperReports Plugin, version 3.1.0 Beta1. Details are provided in what follows.

JasperReports version updated

The plugin is now based on jasper reports version 3.7.1( currently latest).

Added Features

  • support for virtualizers( credits go to Jeff Bader for the help) * support for setting the number of rows per sheet when exporting to xls, excel formats (default is 65535, maximum value supported by jakarta-poi) * support for moving a page in a report( currently using hard coded strings, for moving the table of contents; thanks to Jan for the effort on this!) - please refer to issue 16 on the issue list * separate files for installing( and/or configuring) the plugin and upgrading the JasperReports version

Fixes

  • throwing an exception when a remote report contains an SQL error * minor bugs and fixes

Known Issues

  • remaining issues on the Issue List

Known Limitations

  • issue 24 on the Issue List: using a Servoy defined style in a report is not possible * Groovy compiler error – please refere to the following workarounds:
    o workaround1: use Java or JavaScript (not Groovy) as the scripting language
    o workaround2: if you have to use Groovy as the scripting language, have the compiled ".jasper" file (note: compiled with iReport, for example, not with the 'compileReport' function) in the same directory with the jrxml file, before calling 'runReport' on the jrxml file
    o please be careful; Groovy is the default scripting language now with reports created using iReport

Other Important Notes

  • drop-in versions of the plug-in have been added to the downloads section * a branch has been created for version 3.0.0 of the plugin; version 3.1.0 beta1 is the head now

Examples of Usage for New Features

  • virtualizer usage:
var parameters = new Object();
parameters.VIRTUALIZER_TYPE = "file"; //possible options: file, swapFile, gZip
parameters.PAGE_OUT_DIR = "/somePath/VirtTmp/";
//parameters.MAXIMUM_ROWS_PER_SHEET = 1000; //for very large reports exported as xls or excel documents
  • move table of contents usage( see also plugins.jasperRMI.runReport sample):
plugins.jasperPluginRMI.runReport(forms.customers.controller.getServerName(),'myCustomerReport.jasper','c:/myReport.xml','xml',{pcustomerid: forms.customers.customer_id}, null, true);

Signed Libraries

  • the plugin is consistent with the security level changes in Java 6 update 19: all the libraries used have been signed by Servoy * if the advanced version of the plugin is used and you create your presonalized builds, then each library( jar file) needs to be signed with your personal keystore/certificate( in order to be consistent and usable with the changes in Java 6 update 19); please note here that:
    o the plugin uses some Servoy libs (from the /application_server/lib folder), that are not to be changed; because of this, these libs and any library specificaly from within Servoy is signed by Servoy
    o because all libraries must have the same signature( i.e. the signature of the person who build the plugin), these Servoy (signed) libs must be added to the jnlp file using the <extension> tag (please refer to the jnlp reference for more details), for your signature will differ.