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
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
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
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
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
"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
-
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
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
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
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
> -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
>
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 [
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:
>
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
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
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
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
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
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
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
> 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
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
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"));
> >
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
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
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", ...);
>
(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
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();
28 matches
Mail list logo