And if it possible could you answer on another question!
What I did wrong?
Java
JRResource pdfResource = new
JRConcreteResource<PdfResourceHandler>(reportFile,
new PdfResourceHandler()).setReportDataSource(new
JRBeanCollectionDataSource(historyReports));
EmbeddedJRReport jrReport = new EmbeddedJRReport("report", pdfResource) ;
add(jrReport);
*Html*
</head>
</html>
*This is the example for jasperreports-examples for show pdf on the page!
But Pdf dont show in the page.*
But if I try to do example with Report link I am getting pdf !!!!
*Java*
JRResource pdfResource = new
JRConcreteResource<PdfResourceHandler>(reportFile,
new
PdfResourceHandler()).setReportParameters(parameters).setReportDataSource(new
JRBeanCollectionDataSource(historyReports));
add(new ResourceLink<Void>("linkToPdf", pdfResource));
*Html*
# display PDF report
What problems here ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/There-are-problems-with-object-wicket-id-report-width-350-height-100-tp4099376p4105753.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]