Hello,
I am having troubles figuring out how to organize my static resources.
I would like to map a static URL alias, e.g. /js/fancybox, to a file
such as /js/fancybox/version123/fancybox-123.js. I also want to be
able to update the file version and after that have it served under
the same
We are using Wicket 1.4.17 but we would like to do something like this
mountResource(/mount/path, new SomeResourceReference()) as described
in http://wicketinaction.com/ for Wicket 1.5.
On Fri, Aug 5, 2011 at 12:41 AM, Alec Swan alecs...@gmail.com wrote:
Hello,
I am having troubles figuring
Quick solution:
Resource res = new JavaScriptResourceReference().getResource();
mountSharedResource(somePath, res);
On Fri, Aug 5, 2011 at 10:01 AM, Alec Swan alecs...@gmail.com wrote:
We are using Wicket 1.4.17 but we would like to do something like this
mountResource(/mount/path, new
[mailto:alecs...@gmail.com]
Sent: Friday, 05. August 2011 08:42
To: users@wicket.apache.org
Subject: I am having trouble mounting shared resources
Hello,
I am having troubles figuring out how to organize my static resources.
I would like to map a static URL alias, e.g. /js/fancybox
helps,
Miro
-Original Message-
From: Alec Swan [mailto:alecs...@gmail.com]
Sent: Friday, 05. August 2011 08:42
To: users@wicket.apache.org
Subject: I am having trouble mounting shared resources
Hello,
I am having troubles figuring out how to organize my static resources.
I
Same way as is mounted .js and .css mount images and then in .css you can
just use this path.
-Original Message-
From: Alec Swan [mailto:alecs...@gmail.com]
Sent: Friday, 05. August 2011 19:30
To: users@wicket.apache.org
Subject: Re: I am having trouble mounting shared resources
: Alec Swan [mailto:alecs...@gmail.com]
Sent: Friday, 05. August 2011 19:30
To: users@wicket.apache.org
Subject: Re: I am having trouble mounting shared resources
Thanks, mounting JS worked perfectly.
However, mounting CSS was problematic because it references
quite a few images
Hi all,
is it possible to alias resource paths like /resources/scope/name to
simply, say, /mount_point/name?
I know there is a scope alias for shared resources, but that only
works for the scope (class) part of the path, so it can't get shorter
that /resources/alias/path.
Then there is the
Hi edvin, pictures are not my only goal, I would like to serve compressed js
and css also, and to take advantage of wicket resource caching (http header
generation). Anyway, I wrote a simple requesttargeturlcodingstrategy that
fulfills my needs. If anyone is interested, here it is:
public class
Then there is the mountSharedResource method, but it works on resource
by resource basis. Instead, I need to alias the path for a big number
of resources (for example, static images for my application).
Ideally, I would like my images, following the previous example, to
be requested as:
10 matches
Mail list logo