Hi Ernesto,

I tried using your code, but unfortunately I run into a NullPointerException
when trying to load the pdf file. I placed the test.pfd file in the same
directory as the MyPdfResource.java, but obviously the system can't find it.
Any idea what I might have overlooked?

ERROR - RequestCycle               - 
java.lang.NullPointerException
        at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
        at
org.apache.wicket.markup.html.DynamicWebResource$1.getInputStream(DynamicWebResource.java:221)

Thanks for your help,
Natalie
-- 
View this message in context: 
http://n4.nabble.com/Example-for-presenting-pdf-in-modal-window-tp1879547p2018922.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to