struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4623) Multiple tiles.xml in web.xml
Date Sun, 03 Apr 2016 15:43:25 GMT

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

ASF GitHub Bot commented on WW-4623:
------------------------------------

GitHub user victorsosa opened a pull request:

    https://github.com/apache/struts/pull/94

    WW-4623 Multiple tiles.xml in web.xml

    WW-4623, WW-4624
    
    Multiple tiles.xml in web.xml
    
    Now it will load all the "**/tiles*.xml" below WEB-INF and also load individual files
using the <context-param>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/victorsosa/struts ww-4623

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/struts/pull/94.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #94
    
----
commit da8b13a87ef0d6af54a8cabbc62d54fbca67f683
Author: victor sosa <victorsosa@users.noreply.github.com>
Date:   2016-03-03T18:16:11Z

    Merge pull request #8 from apache/master
    
    update pull

commit a5d716393999110b3701563479a96e83136a8b97
Author: victor sosa <victorsosa@users.noreply.github.com>
Date:   2016-03-03T18:41:11Z

    Merge pull request #9 from victorsosa/easymock_update
    
    Easymock update

commit 6bb1ec67ad539d4bf6850f8314ef521e06b8295e
Author: victor sosa <victorsosa@users.noreply.github.com>
Date:   2016-03-04T22:07:16Z

    Merge pull request #10 from apache/master
    
    pull update

commit 379b75292e6d084dc881e71f0a826c45934d9df8
Author: victor sosa <victorsosa@users.noreply.github.com>
Date:   2016-03-27T18:43:40Z

    Merge pull request #11 from apache/master
    
    update pull

commit f1d01253e4ed15ffb33afdbc62f1c92114d7fc27
Author: victorsosa <victor.sosa@peopleware.do>
Date:   2016-04-03T15:38:15Z

    Fix for WW-4623, WW-4624
    
    Multiple tiles.xml in web.xml

----


>  Multiple tiles.xml in web.xml
> ------------------------------
>
>                 Key: WW-4623
>                 URL: https://issues.apache.org/jira/browse/WW-4623
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tiles
>    Affects Versions: 2.3.28
>            Reporter: D Qiu
>            Priority: Minor
>
> Using struts2.3.24.1, the application can find the definition in a.xml and b.xml
> (web.xml)
> <context-param>
> 	<param-name>org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG</param-name>
> 	<param-value>/WEB-INF/a.xml,/WEB-INF/b.xml</param-value>
> </context-param>
> With struts2.3.28, the application generates "org.apache.tiles.definition.NoSuchDefinitionException"
xxx at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:625)
> (web.xml)
> <context-param>
> 	<param-name>org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG</param-name>
>     <param-value>/WEB-INF/a.xml,/WEB-INF/b.xml</param-value>
> </context-param>
> ----------
> It works fine with a single file
> (web.xml)
> <context-param>
> 	<param-name>org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG</param-name>
>     <param-value>/WEB-INF/a.xml</param-value>
> </context-param>



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

Mime
View raw message