grails / grails-core

The Grails Web Application Framework
http://grails.org
Apache License 2.0
2.78k stars 949 forks source link

GRAILS-6523: Paremeterize PdfBuilder's paths #8935

Closed graemerocher closed 9 years ago

graemerocher commented 14 years ago

Original Reporter: aalmiray Environment: Not Specified Version: 1.3.2 Migrated From: http://jira.grails.org/browse/GRAILS-6523

PdfBuilder assumes some paths to be strictly related to Grails. This hinders its usage with other projects like Griffon and Gpars. The attached patch proposes an overridden version of the build() method that takes a Map; this map is used as option source.

Image hrefs are also converted to absolute refs as the buildr has trouble with relative ones.

graemerocher commented 14 years ago

burtbeckwith said: Fixed by http://github.com/grails/grails-core/commit/32a4ac58dc52e8a0194d23f210e45aa18123ce83 - thanks for the patch.