[
https://issues.apache.org/jira/browse/WW-5402?focusedWorklogId=911186&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911186
]
ASF GitHub Bot logged work on WW-5402:
--------------------------------------
Author: ASF GitHub Bot
Created on: 24/Mar/24 10:29
Start Date: 24/Mar/24 10:29
Worklog Time Spent: 10m
Work Description: lukaszlenart opened a new pull request, #896:
URL: https://github.com/apache/struts/pull/896
Closes [WW-5402](https://issues.apache.org/jira/browse/WW-5402)
Issue Time Tracking
-------------------
Worklog Id: (was: 911186)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Priority: Major
> Fix For: 6.4.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)