This is your problem:
Start.get().getSharedResources().add(image +
random.toString() + .jpg, image);
Adding shared resources during page construction is very unusual. Consider
registering shared resources in Application.init(), or using non-shared
images. Refer to
Using non-shared images? My problem is that I need same url for href in a
and for
src in img for lightbox to work.
-Original Message-
From: Dan Retzlaff [mailto:dretzl...@gmail.com]
Sent: Friday, 05. August 2011 18:45
To: users@wicket.apache.org
Subject: Re: tomcat eats memory
Subject: RE: tomcat eats memory
Using non-shared images? My problem is that I need same url
for href in a and for src in img for lightbox to work.
-Original Message-
From: Dan Retzlaff [mailto:dretzl...@gmail.com]
Sent: Friday, 05. August 2011 18:45
To: users
: RE: tomcat eats memory
Using non-shared images? My problem is that I need same url
for href in a and for src in img for lightbox to work.
-Original Message-
From: Dan Retzlaff [mailto:dretzl...@gmail.com]
Sent: Friday, 05. August 2011 18:45
To: users@wicket.apache.org
as in example (my first attempt was same)
but not know how then take url from image component and put into Link
component.
-Original Message-
From: Dan Retzlaff [mailto:dretzl...@gmail.com]
Sent: Friday, 05. August 2011 19:58
To: users@wicket.apache.org
Subject: Re: tomcat eats memory
in Application.init() take all images
from DB and mount them.
-Original Message-
From: Miroslav F. [mailto:mir...@seznam.cz]
Sent: Friday, 05. August 2011 18:54
To: users@wicket.apache.org
Subject: RE: tomcat eats memory
Using non-shared images? My problem is that I need same url
for href
-
From: Dan Retzlaff [mailto:dretzl...@gmail.com]
Sent: Friday, 05. August 2011 19:58
To: users@wicket.apache.org
Subject: Re: tomcat eats memory
It sounds like a shared resource is not the right solution
for your problem.
Just throw a wicket:id on your Lightbox image tag and create