Re: tomcat eats memory

2011-08-05 Thread Dan Retzlaff
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

RE: tomcat eats memory

2011-08-05 Thread Miroslav F.
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

RE: tomcat eats memory

2011-08-05 Thread Miroslav F.
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

2011-08-05 Thread Dan Retzlaff
: 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

RE: tomcat eats memory

2011-08-05 Thread Miroslav F.
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

Re: tomcat eats memory

2011-08-05 Thread Bas Gooren
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

Re: tomcat eats memory

2011-08-05 Thread Dan Retzlaff
- 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