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: tiles defs file
Date Thu, 09 Aug 2007 10:17:00 GMT
2007/8/9, George Dadulescu <georgedadulescu@gmail.com>:
> Hi. I've just started using struts 2 and I need a little help from you guys.
> I tried to integrate tiles with struts but I don't have all the info. I
> added the struts-tiles plugin, the listener "
> org.apache.struts2.tiles.StrutsTilesListener" and I added the
>     <result-types>
>         <result-type name="tiles" class="
> org.apache.struts2.views.tiles.TilesResult" />
>     </result-types>
> in my struts.xml but now I don't know how to configure the tiles defs file
> and any other step I missed.
>
> PS: Where should I put the former <init-param> element so that the
> application knows where is my tiles defs file ?


See:
http://tiles.apache.org/tutorial/configuration.html
See the instructions for the use of the "TilesListener", the context
parameter is the same even using StrutsTilesListener.

Antonio

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


Mime
View raw message