struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "j alex" <strutstwou...@gmail.com>
Subject Re: tiles defs file
Date Thu, 09 Aug 2007 12:19:33 GMT
Also, if you dont specify any path for the tiles def ; it default to
WEB-INF/tiles.xml (Tiles 2.0.4 onwards i guess)

On 8/9/07, Antonio Petrelli <antonio.petrelli@gmail.com> wrote:
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message