G'day Plugin Collective,
The Rendering plugin user guide doco has a mistake on the "3. Rendering
page". The example shows this:
// Render to a file
new File("coupon.jpg").withOutputStream { outputStream ->
jpegRenderingService.render(template: '/images/coupon', model: [serial: 12345])
}
it should be something like this:-
// Render to a file
new File("coupon.jpg").withOutputStream { outputStream ->
jpegRenderingService.render([template: '/images/coupon', model: [serial: 12345]], outputStream)
}
Cheers,
Peter.
--
web:
http://nerderg.comTwitter:
http://twitter.com/pmcneil---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email