On 21 April 2014 15:15, Markus Bozem <[email protected]> wrote: > Hi, > > I´m new to apache isis.
Hi Markus, and welcome to the mailing list. > I try to integrate the dynamic reports library ( > http://www.dynamicreports.org/). > At the moment I´m able to generate a pdf report inside an action. > > Is there an easy way to give the generated pdf back to the user (as > download)? > > Have the action return an instance of an org.apache.isis.applib.values.Blob. The sample project for the third-party docx domain service [1] shows something similar, see [2] Can i ask: given you've successfully done the hard work of integrating dynamcreports.org, would you be able to share a code sample somehow (eg as a gist or tiny github project) Cheers Dan [1] http://isis.apache.org/reference/services/third-party/danhaywood-isis-domainservice-docx.html [2] https://github.com/danhaywood/isis-domainservice-docx/blob/master/zzzdemo/dom/src/main/java/reporting/ToDoItemReportingService.java#L43 Regards, > Markus Bozem > >
