struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Holmes <ja...@jamesholmes.com>
Subject Re: Pluggable themes for JavaTemplates plugin
Date Wed, 04 Feb 2009 13:26:20 GMT
I don't know if any plugging mechanism for themes has been discussed. Please
send us your thoughts.

On Wed, Feb 4, 2009 at 2:24 AM, Obinna <obinna@gmail.com> wrote:

> Hi,
>
> I'd like to know if there's a 'recommended' way of extending the
> javatemplates theme.
> I've been using the default freemarker templates and have developed a few
> custom tag templates for some custom tags. I'm eager to port to
> javatemplates.
>
> I noticed that the SimpleTheme is 'hard-coded' in the JavaTemplateEngine
> like:
>
>  private Themes themes = new Themes() {{
>        add(new SimpleTheme());
>    }};
>
> which doesn't really allow for registering new themes. I can suggest a
> theme
> plugin/registry but wondered if it's already been considered. There should
> also be a pluggable way of  adding Handlers to a theme.
>
>
> - Eric
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message