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 it.
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, availabl
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
in
Maybe wrong forum :-)
On Fri, Mar 13, 2015 at 12:21 PM, Martin Grigorov
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 "properties" in the c
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
> wrote:
It is perfectly understandable :-)
Cheers!
On Fri, Mar 13, 2015 at 12:27 PM, Martin Grigorov
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 Reinaldo Barreiro
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
--
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
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
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
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 generate
Pass the info as parameters on the request to the mounted resource?
On Fri, Mar 13, 2015 at 7:15 PM, Bruce Lombardi 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 passing the pdf
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...@nubolo
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 bu
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
T
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
do
Hi,
This is your code:
WebDocsSession session = (WebDocsSession)getSession();
final byte[] pdf = session.getPdf();
if(pdf == null) System.out.println("PdfPanel session.getPdf returned
null");
PdfResourceProducer pdfResourceProducer = new PdfResourceProducer(pdf);
return pdfResourceProducer;
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 f
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:
../resource/org.apache.wicket.Applicati
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 wrote:
> The problem (which I think is a bug) is in the way the ur
Bruce,
Apologies for my short answers of yesterday: texting from a mobile device
is not very confortable. Would this class
https://github.com/reiern70/antilia-bits/blob/master/content-iframe/src/main/java/com/antilia/iframe/DocumentInlineFrame.java
be of some help for your use case?
On Fri, M
21 matches
Mail list logo