Agreed. This is what I ended up doing. Thanks for the ideas all.
On Mon, May 10, 2010 at 3:28 PM, Jeremy Thomerson wrote:
> Instead of doing this, use cascading stylesheets like they were intended to
> be used:
>
> In both applications, have a "global.css" or similar that handles all of
> the
>
SS for a single site.
http://compass-style.org
Regards,
Chris Colman
http://pagebloom.com
>-Original Message-
>From: Eric Hamel [mailto:dantehick...@gmail.com]
>Sent: Monday, 10 May 2010 10:17 PM
>To: users@wicket.apache.org
>Subject: Re: CSS Templating
>
>Good Poin
Instead of doing this, use cascading stylesheets like they were intended to
be used:
In both applications, have a "global.css" or similar that handles all of the
layout, etc, that is common to both sites.
Then, in each application, include a "appXYZ.css" that simply changes
colors, background ima
Good Point. In all honesty, I'm looking for a practical way to "skin" 2
applications which are identical layout wise. Inherently, I don't want to
manage 2 different stylesheets as that will lead to maintenance hell.
The idea was to build a Template implemented in both applications to which I
would
usually you would simply write a servlet to do it, but if you insist
on doing it in wicket...
https://cwiki.apache.org/WICKET/dynamically-generate-a-css-stylesheet.html
-igor
On Fri, May 7, 2010 at 12:52 PM, Eric Hamel wrote:
> All,
>
> I've been exploring the use of TextTemplateHeaderContribut
If you are trying to achieve css variables, you may want to consider using
wro4j: (http://code.google.com/p/wro4j/wiki/GettingStarted). It does support
css variables, besides other dozen features (like less css meta framework
integration, merge, minification, cache, build time & runtime solution,
That method of css generation you propose would be generating CSS (even
if it were into a separate .css file) with each page render. If you're
dealing with a lot of CSS that probably isn't the most efficient method.
Generating CSS at render time would mean the browser could not take
advantage of C