(Quick Reference)

1 Introduction - Reference Documentation

Authors: Grails Plugin Collective

Version: 1.0.0

1 Introduction

This plugin adds additional rendering capabilities to Grails applications via the XHTML Renderer library.

Rendering is either done directly via «format»RenderingService services ...

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

Or via the render«format»() methods added to controllers ...

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

The plugin is released under the Apache License 2.0 license and is produced under the Grails Plugin Collective .