Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
6.3.0
-
None
Description
Hi I am doing the migration from Apache tiles 2.1.4 to Apache struts2-tiles-plugin 6.3.0.2 since tiles reached the EOL long time before and it will not support anything for jakarta namespacing.
As struts will start providing support for jakarta namespacing from v7.X we are migrating the Apache tiles to Apache struts2-tiles-plugin 6.3.0.2 now.
Issue:
- With the Apache tiles 2.1.4 we are able to load the tiles defintion file from webapp with the help of the wildcard character in the file name. For ex:- /WEB-INF/config/tiles/*.tiles.xml. With the current plugin version we are unable to do so.
We are enabling this configuration by defining it under param-name "org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG" - We are having a template framework which had been created on the top of Struts and tiles. We have generic tiles definition defined to handle the template genrically across our applications. When I tried to load the tiles definition with wildcar character again, it is not getting loaded.
For ex:- classpath*:/META-INF/org.kawa.tiles.xml,classpath*:/META-INF/com.*.tiles.xml
We also have enabled this configuration under the param-name "org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG"
Could you please let me know the option to enable the wildcard character naming for tiles definition file loading from the application path and also it's dependent application files.