Saravanan Sivaguru created WW-5402:
--------------------------------------
Summary: Auto loading the Tiles definition files from the
classpath dependent JAR
Key: WW-5402
URL: https://issues.apache.org/jira/browse/WW-5402
Project: Struts 2
Issue Type: New Feature
Components: Plugin - Tiles
Affects Versions: 6.3.0
Reporter: Saravanan Sivaguru
Fix For: 6.4.0
Hi Team
Currently we are able to load all the tiles definition files if it is available
under the WEB-INF folder with file name convention tiles*.xml. But we are
unable to load the tiles definition files which is available as a part of the
dependent jar files /WEB-INF/lib folders even though the file name convention
starts with tiles*.xml
Need to enhance the feature to also look on the associated library files for
the tiles definitions.
(OR)
We need to enhance the another existing approach of defining the tiles
definition files with the below param,
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
With this param currently we cannot load the tiles definition files unless we
have defined the parameter value as complete actual file path
Current acceptance - /WEB-INF/config/tiles/com.acnielsen.ftms.tiles.xml
Proposed (Wildcard usage)- /WEB-INF/config/tiles/*.tiles.xml
Additionally the current definition scope will only scan files within
application again it is not scanning on the lib files available under the
classpath
Proposed - classpath*:/META-INF/*.tiles.xml
--
This message was sent by Atlassian Jira
(v8.20.10#820010)