Re: mount images

2013-11-05 Thread Ladislav DANKO
Sorry, it's just macro in my text editor which replace one uccurence with two when I copy-paste from log. One is correct and in log is just one. On 5.11.2013 12:13, Martin Grigorov wrote: On Tue, Nov 5, 2013 at 1:09 PM, Ladislav DANKO wrote: One more info - in tomact log the

Re: mount images

2013-11-05 Thread Ladislav DANKO
eaderbackground.png?53' -> 'Mapper: org.apache.wicket.request.mapper.BufferedResponseMapper; Score: 2147483647' Original Message Subject: Re: mount images Date: Tue, 05 Nov 2013 11:17:11 +0100 From: Ladislav DANKO To: users@wicket.apache.org With size isn't problem, it's around 20 images with tota

Re: mount images

2013-11-05 Thread Ladislav DANKO
23:52:09 +0100] "GET /images/images/headerbackground.png?52 HTTP/1.1" 200 9077 Same image, some time but first path return HTTP response code 302 and second 200 with wrong size (image has 417 bytes). On 5.11.2013 10:52, Martin Grigorov wrote: On Tue, Nov 5, 2013 at 11:42 AM, Ladislav DANKO

Re: mount images

2013-11-05 Thread Ladislav DANKO
27;s wrong with 'WebApplication.get().getSharedResources().add(imagePath, imageData)' On 5.11.2013 10:24, Martin Grigorov wrote: On Tue, Nov 5, 2013 at 11:19 AM, Ladislav DANKO wrote: Martin, thank, I have read it (have the book), but don't find any info why this: I

Re: mount images

2013-11-05 Thread Ladislav DANKO
data but not know hot to mount this data into defined path: AppStart.get().getSharedResources().add(imagePath, imageData) On 5.11.2013 9:59, Martin Grigorov wrote: Hi, Check http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ On Tue, Nov 5, 2013 at 10:49 AM, Ladislav DANKO

mount images

2013-11-05 Thread Ladislav DANKO
"GET /images/images/en-ico.gif?55 HTTP/1.1" 200 9067 How to mount them properly? As far as i know problem is in 'AppStart.get().getSharedResources().add(imagePath, imageData)' but not know how to do it properly. -- Ladislav DANKO -

RE: mountSharedResource() on huge amount of images

2011-03-17 Thread Ladislav DANKO
s, you can always store your files in a > hashed folder structure, e.g. when the ID is 1234, store the > image in a file/folder called /1/2/3/4.jpg > > Bas > > Op 15-3-2011 18:00, Ladislav DANKO schreef: > > Imagine this situation: users have accounts on photo album > where t

RE: mountSharedResource() on huge amount of images

2011-03-17 Thread Ladislav DANKO
e > database. For starters, you can always store your files in a > hashed folder structure, e.g. when the ID is 1234, store the > image in a file/folder called /1/2/3/4.jpg > > Bas > > Op 15-3-2011 18:00, Ladislav DANKO schreef: > > Imagine this situation: users have ac

RE: mountSharedResource() on huge amount of images

2011-03-15 Thread Ladislav DANKO
ages by such a handler one-by-one. > > Bas > > Op 10-3-2011 23:01, Ladislav DANKO schreef: > > Hi all, > > > > what is the recommended way to mount huge amount of an images > > (thousands) in app? Does mountSharedResource() has any bottleneck? > > S

mountSharedResource() on huge amount of images

2011-03-10 Thread Ladislav DANKO
esourceKey()); i++; } But what if in folder is for example 100.000 photos? Thanks for pointing, -- Ladislav DANKO - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mai

RE: memory leak (solved)

2011-03-04 Thread Ladislav DANKO
> -Original Message- > From: Martin Grigorov [mailto:mgrigo...@apache.org] > Sent: Friday, March 04, 2011 10:31 AM > To: users@wicket.apache.org > Cc: Ladislav DANKO > Subject: Re: memory leak (solved) > > On Fri, Mar 4, 2011 at 11:27 AM, Ladislav DANKO >

RE: memory leak (solved)

2011-03-04 Thread Ladislav DANKO
Solved: in log I have found this (was blind...): SEVERE: Exception starting filter WicketFilter java.lang.IllegalArgumentException: Mount path cannot be under '/resources' but I don't know why this restriction... Laco > -Original Message- > From: Ladislav DANKO [

RE: memory leak

2011-03-03 Thread Ladislav DANKO
and wicket is 1.4.16 :-) > -Original Message- > From: Ladislav DANKO [mailto:em...@1ac0.net] > Sent: Friday, March 04, 2011 7:27 AM > To: users@wicket.apache.org > Subject: memory leak > > Hi folks, > > I have JDK 1.6_20, Tomcat 6.0.29 and code: >

memory leak

2011-03-03 Thread Ladislav DANKO
Hi folks, I have JDK 1.6_20, Tomcat 6.0.29 and code: public class Start extends WebApplication { public Start() { } protected void init() { super.init(); mountBookmarkablePage("/index.html", Index.class); m

RE: [OT] Wicketeers from Czech rep.

2011-02-22 Thread Ladislav DANKO
yes, a lot of ;-) > -Original Message- > From: danisevsky [mailto:danisev...@gmail.com] > Sent: Tuesday, February 22, 2011 4:52 PM > To: users@wicket.apache.org > Subject: [OT] Wicketeers from Czech rep. > > Hi fans of Wicket! > > Is there somebody from Czech rep? I'm thinking about

RE: resource for href="...

2010-12-14 Thread Ladislav DANKO
wicketstuff.org/confluence/display/STUFFWIKI/wicketstuf > f-lightbox > to check how it's done there once you decided to write your own one... > > Regards > > Žilvinas Vilutis > > Mobile:   (+370) 652 38353 > E-mail:   cika...@gmail.com > > > > 201

RE: resource for href="...

2010-12-13 Thread Ladislav DANKO
g > Subject: Re: resource for href="... > > What do you want it to do when you click it? > > 2010/12/13 Ladislav DANKO : > > No, I don't need to download it, what I need is right path in href > > attribute in anchor html tag as is in img html tag (created

RE: resource for href="...

2010-12-13 Thread Ladislav DANKO
tend the > Image class to retrieve the URL dynamically e.g. > > http://pastebin.com/XCpcgLzC > > Regards > > Žilvinas Vilutis > > Mobile:   (+370) 652 38353 > E-mail:   cika...@gmail.com > > > > 2010/12/13 Ladislav DANKO : > > In img src I ca

RE: resource for href="...

2010-12-12 Thread Ladislav DANKO
ight class? Is it possible to use path in onClick method in Link class? > -Original Message- > From: Zilvinas Vilutis [mailto:cika...@gmail.com] > Sent: Monday, December 13, 2010 8:27 AM > To: Ladislav DANKO > Cc: users@wicket.apache.org > Subject: Re: resource for href

RE: resource for href="...

2010-12-12 Thread Ladislav DANKO
ructed. Did you want to > construct an url for an Image ResourceReference ? > > > Žilvinas Vilutis > > Mobile:   (+370) 652 38353 > E-mail:   cika...@gmail.com > > > > 2010/12/13 Ladislav DANKO : > > No, I don't need to download it, what I need is right

RE: resource for href="...

2010-12-12 Thread Ladislav DANKO
> Sent: Monday, December 13, 2010 12:13 AM > To: users@wicket.apache.org > Subject: Re: resource for href="... > > You want it to download the image? Try DownloadLink. > > On Sun, Dec 12, 2010 at 6:02 PM, Ladislav DANKO > wrote: > > Hi guys, > > > > anot

resource for href="...

2010-12-12 Thread Ladislav DANKO
Hi guys, another question -have code (PhotoRepeater extends Panel, view is RepeatingView): ... String compID = view.newChildId(); PhotoRepeater clickableImg = new PhotoRepeater(compID); clickableImg.add(new ExternalLink("fotoPath", path).add(new Image("image", path))); view.add(clickableImg); this

RE: repeters with

2010-12-12 Thread Ladislav DANKO
ewChildId(); > repeater.add(new LinkAndImagePanel(id, entry)); > } > > > On Sun, Dec 12, 2010 at 10:02 PM, Ladislav DANKO > wrote: > > > Panel added > > ... > > view.add(new LinkAndImagePanel("linkandimagepanel")); > >

RE: repeters with

2010-12-12 Thread Ladislav DANKO
quot;good morning")); add(view); > > > *Markup:* > > > > > > *Yields:* > > > hellogoodbyegood morning > > > > On Sun, Dec 12, 2010 at 6:02 PM, Ladislav DANKO [via Apache Wicket] < > ml-node+3084657-482134668-65...@n4.nabbl

RE: repeters with

2010-12-12 Thread Ladislav DANKO
will answer myself :-) view.add(new LinkAndImagePanel(view.newChildId())); Laco > -Original Message- > From: Ladislav DANKO [mailto:em...@1ac0.net] > Sent: Sunday, December 12, 2010 10:03 PM > To: users@wicket.apache.org > Subject: RE: repeters with > > Panel a

RE: repeters with

2010-12-12 Thread Ladislav DANKO
Subject: Re: repeters with > > the repeater should add a Panel (or a Fragment) instead of > Image The Panel itself will contain something like: > > ExternalLink link = new ExternalLink("id", href); add(link); > link.add(new Image("image", ...); >

RE: repeters with

2010-12-12 Thread Ladislav DANKO
(instead of the image) and use an > AttributeModifier for the href. > > CHeers > Per > > Am 12.12.2010 09:19, schrieb Ladislav DANKO: > > Hi, > > > > from files in dir I do a list of photos. I do it this way: > > public class InsertPhotos ext

repeters with

2010-12-12 Thread Ladislav DANKO
Hi, from files in dir I do a list of photos. I do it this way: public class InsertPhotos extends WebPage { public InsertPhotos() throws IOException { Folder folder = ((Start)Application.get()).getPhotosFolder(); File[] files = folder.getFiles();