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: Configuring Tiles in S2
Date Tue, 03 Jul 2007 08:07:15 GMT
2007/7/2, Chris Pratt <thechrispratt@gmail.com>:
> You may need to include the context-param to define your
> tiles-config.xmlfile for the listener.
>
>   <context-param>
>     <param-name>tiles-definitions</param-name>
>     <param-value>/WEB-INF/tiles-config.xml</param-value>
>   </context-param>

It's wrong, the correct (deprecated but still working) parameter name
is "definitions-config".
Anyway, notice that Struts 2.0.8 uses Tiles 2.0.3. With Tiles 2.0.4
the configuration parameters changed the names, so the new name is:
http://tiles.apache.org/config-reference.html#org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message