Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-15 Thread Bruce Lombardi
...@gmail.com] >> Sent: Sunday, March 15, 2015 10:00 AM >> To: users@wicket.apache.org >> Subject: Re: PDF viewed in panel via ResourceReference works in 6.12 but not >> in 6.13 >> >> Just a small observation that might help. Move code from PdfViewer >> contructor t

Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-15 Thread Andrea Del Bene
involved. I will use this fix. Since this works should I still open a JIRA issue? Thanks again, Bruce -Original Message- From: Andrea Del Bene [mailto:an.delb...@gmail.com] Sent: Sunday, March 15, 2015 10:00 AM To: users@wicket.apache.org Subject: Re: PDF viewed in panel via ResourceReference

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-15 Thread Bruce Lombardi
@wicket.apache.org Subject: Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13 Just a small observation that might help. Move code from PdfViewer contructor to onInitialize. This makes URL generation safer although it doesn't explain why your code worked until 6.12.0. > I

Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-15 Thread Andrea Del Bene
Just a small observation that might help. Move code from PdfViewer contructor to onInitialize. This makes URL generation safer although it doesn't explain why your code worked until 6.12.0. I guess it depends on the mount path of your page. Most probably it is /wicket/bookmarkable/... On Mar 14,

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-14 Thread Martin Grigorov
r quickstart and see if it makes a > difference. > > Bruce > > -Original Message----- > From: Andrea Del Bene [mailto:an.delb...@gmail.com] > Sent: Saturday, March 14, 2015 11:58 AM > To: users@wicket.apache.org > Subject: Re: PDF viewed in panel via Resource

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-14 Thread Bruce Lombardi
t and see if it makes a difference. Bruce -Original Message- From: Andrea Del Bene [mailto:an.delb...@gmail.com] Sent: Saturday, March 14, 2015 11:58 AM To: users@wicket.apache.org Subject: Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13 Hi, I've create

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-14 Thread Bruce Lombardi
Thanks Andrea. I'll work with your quickstart and see what I can find. Bruce -Original Message- From: Andrea Del Bene [mailto:an.delb...@gmail.com] Sent: Saturday, March 14, 2015 11:58 AM To: users@wicket.apache.org Subject: Re: PDF viewed in panel via ResourceReference works in

Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-14 Thread Andrea Del Bene
Hi, I've created a quickstart based on your code but I can't reproduce the issue. I've shared it on Dropbox: https://www.dropbox.com/s/qmolvzvp9a0xplf/ResourceIssue.tar.gz?dl=0 The only thing I've noted is that your resource url doesn't have starting segment 'wicket', i.e my resource url is:

Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Ernesto Reinaldo Barreiro
o fix this? I could strip the first dot as a > workaround in the mean time. > > Bruce > > -----Original Message- > From: Martin Grigorov [mailto:mgrigo...@apache.org] > Sent: Friday, March 13, 2015 4:17 PM > To: users@wicket.apache.org > Subject: Re: PDF viewed in panel

Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Martin Grigorov
ource/org.apache.wicket.Application/pdfProducer' -> 'Mapper: > org.apache.wicket.core.request.mapper.ResourceReferenceMapper; Score: 1' > > Maybe someone knows how to fix this? I could strip the first dot as a > workaround in the mean time. > > Bruce > > --

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
apache.wicket.core.request.mapper.ResourceReferenceMapper; Score: 1' Maybe someone knows how to fix this? I could strip the first dot as a workaround in the mean time. Bruce -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Friday, March 13, 2015 4:17 PM

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
tCycle - No suitable handler found for URL resource/org.apache.wicket.Application/pdfProducer, falling back to container to process this request -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Friday, March 13, 2015 4:17 PM To:

Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Martin Grigorov
hen access it in my panel > constructor and add the pdf there? > > Bruce > > -Original Message- > From: Martin Grigorov [mailto:mgrigo...@apache.org] > Sent: Friday, March 13, 2015 12:53 PM > To: users@wicket.apache.org > Subject: Re: PDF viewed in panel via Resour

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
users@wicket.apache.org Subject: RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13 Passing something that allows you to produce the byte []? Sent from Samsung Mobile Original message From: Bruce Lombardi Date:13/03/2015 20:20 (GMT+01:00) To:

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread reiern70
Passing something that allows you to produce the byte []? Sent from Samsung Mobile Original message From: Bruce Lombardi Date:13/03/2015 20:20 (GMT+01:00) To: users@wicket.apache.org Subject: RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
gt; Sent: Friday, March 13, 2015 12:53 PM > To: users@wicket.apache.org > Subject: Re: PDF viewed in panel via ResourceReference works in 6.12 > but not in 6.13 > > Hi, > > I think I see what happens. > The ResRef is created as a local variable to create the url and then &g

Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Ernesto Reinaldo Barreiro
13, 2015 12:53 PM > To: users@wicket.apache.org > Subject: Re: PDF viewed in panel via ResourceReference works in 6.12 but > not in 6.13 > > Hi, > > I think I see what happens. > The ResRef is created as a local variable to create the url and then > discarded. > Wicket h

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
-Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Friday, March 13, 2015 12:53 PM To: users@wicket.apache.org Subject: Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13 Hi, I think I see what happens. The ResRef is created as a local var

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
panel via ResourceReference works in 6.12 but not in 6.13 Hi, I think I see what happens. The ResRef is created as a local variable to create the url and then discarded. Wicket has something called ResourceReferenceRegistry. When a ResRef is used to create an url to it it is automatically reg

Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Martin Grigorov
Hi, I think I see what happens. The ResRef is created as a local variable to create the url and then discarded. Wicket has something called ResourceReferenceRegistry. When a ResRef is used to create an url to it it is automatically registered in the registry. It seems after 6.13 there is no such a

PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
I have a PdfViewer page that contains a panel that displays a dynamically generated PDF using a resource reference. This works fine in Wicket 6.12.0, but when I upgrade to 6.13.0 it stops working (just changed Maven dependency - no code changes). No errors are displayed and the html is generated ex