Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Thank you both very much, your answers were quite helpful. And thanks to you twice Martin, since you wrote the useful article that was linked here as well. Just out of curiousity, is there a button equivalent of resourceLink? I could just style a link to look like a button through CSS, but I'm as

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
NEVERMIND, I figured it out. It's embarassing how easy that was... Click Me! Thanks again guys -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Display-PDF-in-new-tab-tp4677202p4677216.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Actually, scratch that. My question is now: How do I add Ajax events to resourceLink so that I can enable/disable certain components after having served my resource? I've tried this HTML trick: <> Im a button but I end up with this error: Unable to find component with id 'resourceButton' in [

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Actually, scratch that. My question is now: How do I add Ajax events to resourceLink so that I can enable/disable certain components after having served my resource? I've tried this HTML trick: but I end up with this error: Unable to find component with id 'resourceButton' in [ResourceLink [Com

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Actually, scratch that. My question is now: How do I add Ajax events to resourceLink so that I can enable/disable certain components after having served my resource? OR how do I use my resourceReference in an AjaxButton to actually serve the resource? ResourceLink practically takes care of that for

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Actually, scratch that. My question is now: How do I add Ajax events to resourceLink so that I can enable/disable certain components after having served my resource? OR how do I use my resourceReference in an AjaxButton to actually serve the resource? ResourceLink practically takes care of that for

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
Actually, scratch that. My question is now: How do I add Ajax events to resourceLink so that I can enable/disable certain components after having served my resource? OR how do I use my resourceReference in an AjaxButton to actually serve the resource? ResourceLink practically takes care of that for

Re: Display PDF in new tab

2017-03-01 Thread Claudia Hirt
Hi, Maybe this solution could help you: https://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow Von meinem iPhone gesendet > Am 01.03.2017 um 21:20 schrieb SeldonCrisis : > > Actually, scratch that. My question is now: How do I add Ajax events to > resourceLi

Re: Display PDF in new tab

2017-03-01 Thread SeldonCrisis
I've already seen this reference document, but I skipped over it thinking it did not apply to my problem (Probably as a result of my lack of Wicket experience). I will go ahead and carefully read through it again to see if I can figure this out. Thanks! -- View this message in context: http://ap

Re: Display PDF in new tab

2017-03-01 Thread Ernesto Reinaldo Barreiro
Got lost with some many self responses :-) What do you want to achieve now? AJAX + SHOW PDF? On Wed, Mar 1, 2017 at 10:41 PM, SeldonCrisis wrote: > I've already seen this reference document, but I skipped over it thinking > it > did not apply to my problem (Probably as a result of my lack of Wic