Saravanan Sivaguru created WW-5392:
--------------------------------------
Summary: Tiles-Plugin unable to load tiles definition XML if the
file names are specified with wild char
Key: WW-5392
URL: https://issues.apache.org/jira/browse/WW-5392
Project: Struts 2
Issue Type: Bug
Components: Plugin - Tiles
Affects Versions: 6.3.0
Reporter: Saravanan Sivaguru
Attachments: Web_XML_File_Tiles_Defintion_Context.PNG
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)