RE: New committer - Sebastien Briquet

2015-03-13 Thread Sebastien
Thank you very much Colin! :) On Mar 13, 2015 3:34 AM, Colin Rogers colin.rog...@objectconsulting.com.au wrote: Only just saw this... well done Sebastien - you've always been amazing help with JQuery-UI :) -Original Message- From: Patrick Davids [mailto:patrick.dav...@nubologic.com]

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

2015-03-13 Thread Bruce Lombardi
Martin, I'm looking into mounting the resource but there is something that I don't understand. Currently I am creating the resource in my panel and passing the pdf I want to display into the constructor of the resource. If I mount the resource, how do I provide it with the dynamically

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

2015-03-13 Thread Ernesto Reinaldo Barreiro
Pass the info as parameters on the request to the mounted resource? On Fri, Mar 13, 2015 at 7:15 PM, Bruce Lombardi brlom...@gmail.com wrote: Martin, I'm looking into mounting the resource but there is something that I don't understand. Currently I am creating the resource in my panel and

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

2015-03-13 Thread Bruce Lombardi
Thanks Martin. I'm not getting any WARN messages in the logs. I'll take a look at mounting the resource. 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

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

2015-03-13 Thread Bruce Lombardi
Thanks Ernesto, I don't know how to pass a byte[] as a parameter. Bruce -Original Message- From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Sent: Friday, March 13, 2015 2:20 PM To: users@wicket.apache.org Subject: Re: PDF viewed in panel via ResourceReference works in 6.12

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

2015-03-13 Thread Bruce Lombardi
The problem (which I think is a bug) is in the way the url is produced. The line String url = (String)RequestCycle.get().urlFor(resourceReference, null); Produces the url to use for the resource ref. In the non-working version it returns:

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

2015-03-13 Thread Bruce Lombardi
That's not really possible. The pdf is produced by itext from a template with lots of parameter. It would require too large a change in the code and would couple the pdfViewer panel too closely to the domain code. If, as Martin suggests, the automatic registering of the resource is not being

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

2015-03-13 Thread Martin Grigorov
Please create a quickstart application and attach it to JIRA. Thanks! Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Sat, Mar 14, 2015 at 12:03 AM, Bruce Lombardi brlom...@gmail.com wrote: The problem (which I think is a bug) is

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

2015-03-13 Thread Bruce Lombardi
Thanks Martin an others. I am always impressed with the helpfulness of the people on this list. I will look into what you suggest. In the meantime I'm trying to find out more information about the differences between versions and I set the logger level to DEBUG and obtained the traces below

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 brlom...@gmail.com 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

Adding new data to existing ListView

2015-03-13 Thread avchavan
Is it possible to add data to an existing ListView for which data is already loaded? Basically what i want is if say i have 10 records already present then add 10 more records to the existing ListView, so we get 20 records. I tried but the ListView gets refreshed if i try to set the new list to

Re: Adding new data to existing ListView

2015-03-13 Thread Martin Grigorov
Hi, Yes, just put more items to its backing List. Or better use an IModel that fetches the List dynamically based on some conditions. You need to repaint/refresh it to be able to render the new items. If you use Ajax then you have to repaint its (grand)parent. Martin Grigorov Freelancer,

Re: Marker view model

2015-03-13 Thread Ernesto Reinaldo Barreiro
Maybe wrong forum :-) On Fri, Mar 13, 2015 at 12:21 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, I tried to use a marker view model, i.e. a view model without any properties. I need it to trigger instantiation of a custom component(factory). I thought that I may put all the

Marker view model

2015-03-13 Thread Martin Grigorov
Hi, I tried to use a marker view model, i.e. a view model without any properties. I need it to trigger instantiation of a custom component(factory). I thought that I may put all the properties in the component, so the view model won't need to have them. It will be just a marker, like marker

Re: Marker view model

2015-03-13 Thread Martin Grigorov
Sorry :-) Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Mar 13, 2015 at 1:24 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Maybe wrong forum :-) On Fri, Mar 13, 2015 at 12:21 PM, Martin Grigorov

Re: Marker view model

2015-03-13 Thread Ernesto Reinaldo Barreiro
It is perfectly understandable :-) Cheers! On Fri, Mar 13, 2015 at 12:27 PM, Martin Grigorov mgrigo...@apache.org wrote: Sorry :-) Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Mar 13, 2015 at 1:24 PM, Ernesto

Enabling Java EE and Fortress Security inside an Apache Wicket Web App

2015-03-13 Thread Shawn McKinney
Hello, another post on how a wicket application can be hooked in with java EE security and fortress rbac controls: https://iamfortress.wordpress.com/2015/03/13/enabling-java-ee-and-fortress-security-inside-an-apache-wicket-web-app/ Hope you find it helpful. Shawn

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

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