|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
update to jasper plugin for 1.1?Hi all, we have some jasper reports (with sub-reports) that were
working with 1.0.4 and are now no longer working with 1.1, I'm assuming it's a plugin issue with 1.1 and wanted to check and see if an update was planned for this in the near future. -warner --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: update to jasper plugin for 1.1?I have a few updates that I should push up with the Jasper plugin, but unfortunately I haven't had a chance to get Jasper working with grails 1.1, and I haven't heard of anyone else currently working on getting it there.
If you come up with some ideas pass them along. Short of that log specific issues in JIRA for the jasper plugin. Sub-reports have been really hit-and-miss, so if you have time to write some brief documentation on the specific way that you got it to work that could be good, and give clues on how to fix problems as well. -Aaron On Fri, Mar 13, 2009 at 12:14 PM, Warner Onstine <warnero@...> wrote: Hi all, we have some jasper reports (with sub-reports) that were |
|
|
Re: update to jasper plugin for 1.1?Hi,
in this forum I haven´t found a solution for the subreport problem with JasperReport, especially with Grails 1.1 and Grails 1.1.1. Therefore I had a look at the JasperReport sources as well at the Jasper-Plugin sources and found a workaround that´s quite simple. In my gsp-Files I use the JasperReport tag in the following way: <g:jasperReport controller="myController" action="pdf" jasper="myreport" format="PDF" name="Print" delimiter=" "> <input type="hidden" name="id" value="${myObject?.id}" /> <input type="hidden" name="SUBREPORT_DIR" value="${application.getRealPath("/reports")}" /> </g:jasperReport> The important line is the definition of the SUBREPORT_DIR. If you define it in this way you can put your reports and subreport into the folder <project_home>/web-app/reports To the developers of the JasperReport plugin. You should implement a FileResolver that searches the files in the web-app/reports directory (or better configurable via config.groovy). This would solve the JasperReport error without having to wait for an updated version of JasperReport. Best regards Helmut
|
| Free embeddable forum powered by Nabble | Forum Help |