struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4624) New Tiles version can not find tiles*.xml files un subdirectories
Date Wed, 06 Apr 2016 16:41:25 GMT

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

ASF subversion and git services commented on WW-4624:
-----------------------------------------------------

Commit 5ce807aaea3b3efc1c8de2c064b43052b0b8c73b in struts's branch refs/heads/support-2-3
from [~aleksandr-m]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=5ce807a ]

WW-4622 - Adds fallback to static config definitions to allow work in restricted envs (cherry
picked from 6770b35), getRealPath NPE check; WW-4623, WW-4624 - Adds support for multiple
tiles defintions (cherry picked from c12cd61)


> New Tiles version can not find tiles*.xml files un subdirectories
> -----------------------------------------------------------------
>
>                 Key: WW-4624
>                 URL: https://issues.apache.org/jira/browse/WW-4624
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tiles
>    Affects Versions: 2.3.28
>            Reporter: Joaquin Diez
>            Priority: Minor
>             Fix For: 2.3.29
>
>
> In previous Struts2 2.3.X version, with the Tiles 2.0.2 version, I got a subdirectories
organization for my several tiles definitions
> /WEB-INF/tiles/public/tiles-a.xml
> /WEB-INF/tiles/public/tiles-b.xml
> /WEB-INF/tiles/static/tiles-c.xml
> With the change to Tiles 2.2.2. now the plugin o Tiles it is supposed that all the files
tiles*.xml are gonna be load with out the need of <context-params> section in the web.xml
>  <context-param>
>         <param-name>org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG</param-name>
>         <param-value>
>             /WEB-INF/tiles/private/private-tiles.xml,
>             /WEB-INF/tiles/private/domain-tiles.xml,
>             /WEB-INF/tiles/private/personalInfo-tiles.xml,
> But is not able to find this files in the subdirectories.
> The only way to make it work is to move all this files to /WEB-INF/
> I feel like is a important change got a minor release, and maybe should be informed better
to Struts2 old-school users 
> Regards



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message