Hey guys, I'm pretty new to Wicket and need some help. I've read through the
forums and found this question answered twice, but I'm still confused. I
want to display a PDF in a new tab after having clicked a button (in the
onSubmit event). How do I go about doing this? So far I understand that I
must create my own custom resource that extends ByteArrayResource. So do I
override getData() to define the actual data in the ByteArrayStream? And how
do I then go about actually responding with the resource in the event
handler? I'm sorry if my question is too general/confusing. If you could
just link me to an example/document that illustrates how to accomplish this,
it would more than suffice.

Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Display-PDF-in-new-tab-tp4677202.html
Sent from the Users forum 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