Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
6.3.0
-
None
Description
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
Attachments
Issue Links
- breaks
-
WW-5419 Autoloading of tiles.xml fails in Struts-6.4.0
- Resolved
- links to