It would be good to change the Wicket implementation here so that several
ICssCompressor could be added. With an ArrayList for example - then you could
add a css compressor to the beginning of the chain with
getCssCompressors().add(0,myCoolNewCssCompressor)
kind regards
Tobias
> Am 02.02.2015
Hi,
https://github.com/klopfdreh/wicket-components-playground
See CssUrlReplacer
kind regards
Tobias
> Am 02.02.2015 um 09:51 schrieb Martin Grigorov :
>
> Additionally we used preloading of static resources.
> At app start time (i.e. MyApp#init()) we fired an artificial request to all
> regi
Additionally we used preloading of static resources.
At app start time (i.e. MyApp#init()) we fired an artificial request to all
registered CSS/JS bundles. The response has been cached (by a
specialization of ConcatBundleResource) and later all real/runtime requests
were using the cache.
This way t
Good idea, I'm going to make it this way!
kind regards
Tobias
> Am 02.02.2015 um 09:36 schrieb Martin Grigorov :
>
> Hi Tobias,
>
> I imagine it with a regex that parses for "url(...)" and replaces the old
> url with a new one.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://tw
Hi Tobias,
I imagine it with a regex that parses for "url(...)" and replaces the old
url with a new one.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Feb 2, 2015 at 10:31 AM, Tobias Soloschenko <
tobiassolosche...@googlemail.com> wrote:
> Hi,
>
> would b
Hi,
would be a good to see such an implementation out of the box. (CSSCompressor)
I try to do it soon - maybe with a varags of URLs which are going to be passed
into the CSS file.
kind regards
Tobias
> Am 02.02.2015 um 08:35 schrieb Martin Grigorov :
>
> Hi,
>
> Putting your static resourc
Hi,
Putting your static resources in the context root and letting Wicket manage
them is not a problem.
For example you can use a special/custom MyScope.class as a scope for
JS/Css ResourceReferences and a custom IResourceFinder that uses
ServletContext#getResource() when the scope is MyScope.class
Hi,
you can manage your resources like this. There are classes / methods to
generate headers for CSS and JS based on a given URL:
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/markup/head/CssHeaderItem.html
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wic