We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebXlsxExporter needs a constructor
WebXlsxExporter(InputStream stream) { ... }
to support loading of templates from resources.
Right now the work around is:
def template =grailsApplication.parentContext.getResource("classpath:ReportTemplate.xlsx").inputStream tempFile = File.createTempFile("ReportTemlate", ".xlsx") tempFile << template new WebXlsxExporter(tempFile.absolutePath).with { ... }
The text was updated successfully, but these errors were encountered:
This issue held me up for more hours than I would like to admit. How can I contribute to adding a constructor?
Sorry, something went wrong.
+1
No branches or pull requests
WebXlsxExporter needs a constructor
to support loading of templates from resources.
Right now the work around is:
The text was updated successfully, but these errors were encountered: