Skip to content

gpc/rendering

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2259b60 · Aug 31, 2011

History

99 Commits
May 31, 2011
May 31, 2011
Aug 31, 2011
Jun 9, 2010
Aug 31, 2011
Nov 20, 2010
Aug 30, 2011
Aug 30, 2011
Jun 18, 2010
Apr 14, 2010
Jun 18, 2010
Aug 30, 2011
Aug 30, 2011
Jun 18, 2010
Jun 18, 2010

Repository files navigation

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: reportObject.name)

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.