Of course! :-)

Here is the code in web.xml:

<listener>

<listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class>
</listener>
<context-param>

<param-name>org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
        </param-name>
        
<param-value>/org/apache/tiles/classpath-defs.xml,/WEB-INF/tiles2-defs.xml
        </param-value>
</context-param>

(Now there is only that tiles2-defs.xml with everything on it. i've tried to
place there several files comma separated with no success, also placing
classpath-defs.xml first and lastone)

I am using the following entry in struts.xml to "activate" tiles2 in
struts2:

   <result-type name="tiles"
class="org.apache.struts2.views.tiles.TilesResult"/>


thanks a lot for your help,
Ignacio
-- 
View this message in context: 
http://www.nabble.com/Multiple-tiles.xml-and-%22can%27t-find-its-ancestor%22-error-tp21670877p21697013.html
Sent from the tiles users mailing list archive at Nabble.com.

Reply via email to