gpc/grails-rendering — pull request #5 by ithena (2012-04-01 20:12:58+00:00)
Title: Locale passed in as parameter in args is now taken into account when rendering.

The XhtmlDocumentService never allowed the locale in the request used by RenderEnvironment to be overridden with a custom locale. This patch will enable to Locale to be used for rendering to be overridden by the locale argument.

The test in PdfRenderingServiceSpec feels clunky, any suggestions on making it better are welcome.