[ 
https://issues.apache.org/jira/browse/WW-5402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17843784#comment-17843784
 ] 

Patrice DUROUX commented on WW-5402:
------------------------------------

Hi [~lukaszlenart], I tested a cherry piking of WW-5419 on master and it works. 
Thanks!

> 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: 50m
>  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)

Reply via email to