Grails

MalformedByteSequenceException with Grails jasper plugin 1.1.6

Hi All, I was facing a lot of problems with creating pdf reports using jasper plugin 1.1.6 in grails, Though I had earlier worked with 0.9.5 and 0.9.7 versions of the plugin with a lot of ease but some how 1.1.6 version of plugin was not generating reports  it always ended up throwing MalformedByteSequenceException: Invalid byte 1 of...

by Sachin
Tag: Jasper
03-Dec-2010

Technology

Passing parameters to sub-reports in Jasper

In one of our recent project, we made quite a good use of Grails Jasper plugin (v-0.9.7) to generate reports in the form of PDFs and Excel sheets. The reports contain sub-reports, which in many cases, contain sub-reports again. The way to pass parameters to sub-reports at the deeper level is to use the following tag in the .jrxml file:...

by Abhishek Tejpaul
Tag: Jasper
15-Sep-2010

Technology

Passing Optional Parameters in jasper reports

Hi Guys, In one of my projects, While working with jasper reports, one of the requirement I faced was of passing optional parameter to the sql query in jasper  report. For eg. I had to write a query to find all new customers which were added between two given dates and if an optional status value of the customer is passed the report...

by Sachin
Tag: Jasper
13-Sep-2010

Grails

Compiling sub-reports in Jasper reports

In my project we needed to generate pdf reports. The tool we used to design reports is IReport 2.0.5 & the plugin used is grails jasper plugin.The plugin works fine with simple reports but fails when it come to complex report which uses subreport.The problem is that the plugin compiles .jrxml file to .jasper file upto 1 level.It do...

by Vishal Sahu
Tag: Jasper
12-Mar-2010

Technology

Error Compiling .jrxml file with iReport 2.0.5

Recently I encountered an error , while working  on iReports , iReport it was not able to compile .jrxml file to generate .jasper file , whilst  it used to show  compile time. Error : Compiling to file... ./<filename>.jasper -> /usr/share/iReport/bin/<filename>.java Errors compiling ./<filename>.jasper. ...

by Hitesh Bhatia
Tag: Jasper
25-Feb-2010

Grails

My experience of using jasper reports with grails application

In my project we needed to generate certain pdf reports. Then while exploring the options available, I encountered a PDF plugin, which renders gsp page and returns the PDF report. It looked good for the simple reports but may not be a good idea if the report are complex. Then with the help of one of my collegue, we decided to rather...

by Amit Jain
Tag: Jasper
25-Feb-2010