Provides rendering of GSPs as PDFs, JPEGs, GIFs and PNGs
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
gradle/wrapper Initial upgrade to Grails 3.0 Jun 19, 2015
grails-app Convert dynamic methods to Grails 3.0 trait Jun 22, 2015
web-app Added some tests and docs on dealing with exotic chars. Nov 20, 2010
.travis.yml upgrade to Grails 2.3.8 May 11, 2014
settings.gradle Initial upgrade to Grails 3.0 Jun 19, 2015

Build Status

Rendering Grails Plugin

This plugin adds PDF, GIF, PNG and JPEG rendering facilities to Grails applications via the XHTML Renderer library.

Rendering is either done directly via one of the «format»RenderingService services …

ByteArrayOutputStream bytes = pdfRenderingService.render(template: "/pdfs/report", model: [data: data])

Or via one of the render«format»() methods added to controllers …

renderPdf(template: "/pdfs/report", model: [report: reportObject], filename:

Please see the User Guide for more information.

The plugin is released under the Apache License 2.0 and is produced under the Grails Plugin Collective. However, it does LGPL libraries: XhtmlRenderer and iText.