myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Gavazuk" <antongava...@gmail.com>
Subject Re: [TILES] Unable to find configured definition '/WEB-INF/tiles.xml
Date Mon, 24 Mar 2008 08:17:09 GMT
Richard,
of course I ensured I put everything without errors and this is my
question - why Tiles configuration module does not look in context
param - I suppose it's not a Tomahawk problem - it's something related
to Tiles...

2008/3/24, Richard Yee <ryee@cruzio.com>:
> Anton,
>  Are you sure you put the file in the right place and configured web.xml
>  correctly?
>
>  Your example showed this:
>
>
>         <param-value>/WEB-INF/tiles/tiles.xml</param-value>
>
>
>
> Your error message shows this:
>
>
>  definition '/WEB-INF/tiles.xml'
>
>
> -Richard
>
>
>
>  Anton Gavazuk wrote:
>  > Hello all,
>  > I'm migrating from JSF1.1 to JSF1.2 and Tiles 2
>  > First I'm trying to get to work simple pages from my app - I
>  > downloaded Tomahawk Tiles 2 example - it's working fine.
>  > Second - I added my own tiles definition XMl file and changed
>  > according context param in web.xml:
>  >  <context-param>
>  >         <param-name>tiles-definitions</param-name>
>  >         <param-value>/WEB-INF/tiles/tiles.xml</param-value>
>  >     </context-param>
>  >
>  > But when Im making request to defined page I see error in log
>  > 22:36:41,390 INFO  [BasicTilesContainer] Initializing Tiles2 container. . .
>  > 22:36:41,390 WARN  [BasicTilesContainer] Unable to find configured
>  > definition '/WEB-INF/tiles.xml'
>  > 22:36:41,406 INFO  [BasicTilesContainer] Tiles2 container
>  > initialization complete.
>  > 22:36:41,406 INFO  [TilesAccess] Publishing TilesContext for context:
>  > org.apache.catalina.core.ApplicationContextFacade
>  >
>  > Any ideas why it's working in such way?
>  >
>  >
>  >
>
>

Mime
View raw message