struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: Strus2-tiles-plugin-2.2.1
Date Tue, 29 Mar 2011 14:09:50 GMT
2011/3/29 Mohamed Rabie Hayoun Ben Maimoun <mrhayoun@gmail.com>

> Hi!
> I'm devoloping an aplication with the next version:
>
>   1. tiles 2.2.2
>   2. struts 2.2.1
>   3. struts2-tiles-plugin-2.2.1
>
> I integrate all the framework and they working fine, there is no error, but
> my problem is tile files configuration's size. It start to became a little
> bit hard to maintain  and i want to split it in various configuration
> files.
> I found a way with "
> org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG" as a init
> parameter in web.xml but it's deprecated


Yes it's deprecated, but it works (it should, at least). AFAIK Struts
2/Tiles plugin is not maintained much, so using a deprecated feature is not
such a problem.


> also i saw that you can extend
> some abstract Classes from tiles API to develop you own configuration
> loader
> but that it's only with tiles no in combination with struts2-plugin.
>

Another reason that confirms that the plugin is not maintained. Spring
MVC/Tiles integration is better.
So my suggestion is to use the configuration via DEFINITIONS_CONFIG
parameter.

Antonio

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