tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: Sharing tiles definitions between apps
Date Thu, 13 Dec 2007 08:04:59 GMT
2007/12/12, davidkarlsen <david@davidkarlsen.com>:
>
> Is it possible (ootb or by extending the framework) - to externalize and
> share the tiles config between the apps (e.g. not bundle the tiles
> definitions in each war inside each ear)?



It's hard to say... Surely it is not supported out of the box, but with an
extension it could be possibile.
To give you a pointer, you could define a TilesContainer (the default
implementation is BasicTilesContainer) server-widely, probably with attached
a JNDI name.
I think that it could be feasible, but there are some specification issues
that cannot be resolved: if you use JSP, you cannot use JSP pages outside of
the webapp. But if you use FreeMarker, probably it is possible.

I hope that I gave you a hint.

Ciao
Antonio

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