Thanks for the reply... I was able to render the pdf in browser with the
following piece of code:
ResourceStreamRequestTarget target = new ResourceStreamRequestTarget(null){
@Override
public void detach(RequestCycle requestCycle) {
I have class which generates pdf report. The report is generated as stream as
I donot want to save the file in server. I need to show the pdf in the
browser. But the link provided to this dynamically generated pdf opens a new
window and asks for saving the file. How to open the pdf in new window?
Thanks for the repley. Yes I am using maven This is my pom.xml
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0
nic.
Hi all, I am trying to add DataTable into my wicket application. But I am
facing is problem doing that. And the fact is that it is not giving coding
related error. After adding wicket-extensions1.4.3.jar I am getting the
following error:
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory