My application generate PDF reports with JasperReports.
I want to plug the report generation with the PDF export of display tag. Do you have some recommendation ?
Is there a simple way to do this ?
JasperReports works with SQL Queries or ResultSet to generate its report. Is there a way to retrieve the result set, the HttpRequest or something else fron the displaytag export view ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
AFAIK, this is not possible. However, JasperReports is a pretty full-featured reporting engine - why can't you just create a report that exports to PDF? In my experience, JR gives you much more control over the look and feel of the report.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How are you building the data to display in the displaytag table? Are you pulling it from your database? Is it the layout of the displaytag table you like, or the way it displays the data? Are you manipulating the data in a controller or JSP in ways that you can't manipulate it using SQL?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We are exporting a JasperReport PDF now, on demand, in a new window, from a row of an eXtreme table (from the properties of a single row bean, in the collection in session scope).
It should work OK with displaytag too, I imagine, with only some minor changes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello All,
My application generate PDF reports with JasperReports.
I want to plug the report generation with the PDF export of display tag. Do you have some recommendation ?
Is there a simple way to do this ?
JasperReports works with SQL Queries or ResultSet to generate its report. Is there a way to retrieve the result set, the HttpRequest or something else fron the displaytag export view ?
AFAIK, this is not possible. However, JasperReports is a pretty full-featured reporting engine - why can't you just create a report that exports to PDF? In my experience, JR gives you much more control over the look and feel of the report.
I have a JR that creates PDF reports. What I want to do is to generate this report using the data found in displaytag table.
How are you building the data to display in the displaytag table? Are you pulling it from your database? Is it the layout of the displaytag table you like, or the way it displays the data? Are you manipulating the data in a controller or JSP in ways that you can't manipulate it using SQL?
We are exporting a JasperReport PDF now, on demand, in a new window, from a row of an eXtreme table (from the properties of a single row bean, in the collection in session scope).
It should work OK with displaytag too, I imagine, with only some minor changes.