[
https://issues.apache.org/jira/browse/WW-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart closed WW-3911.
-----------------------------
Resolution: Not a Problem
Use comma to separate packages:
{{extends="json-default,my-default"}}
> Extends differences when in single struts.xml compared to imported via
> includes
> -------------------------------------------------------------------------------
>
> Key: WW-3911
> URL: https://issues.apache.org/jira/browse/WW-3911
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - JSON, Plugin - Tiles, XML Configuration
> Affects Versions: 2.3.4.1
> Environment: Both Windows & Mac, Java 5, 6 and 7.
> Reporter: John Patrick
> Fix For: 2.3.18
>
> Attachments: all-in-one-struts.xml, using-includes-struts-public.xml,
> using-includes-struts.xml
>
>
> When creating an abstract package and using extends to include it and also
> another say json-default. When all defined within the same struts.xml it
> works, but if the package extending both my custom package and json-default
> is via an include then it doesn't work.
> Either way inheritance, either the single.xml has a bug with multiple
> inheritance as it works, or includes has a bug as it doesn't work with
> multiple inheritance.
> The only change is extracting a working package and putting it into a
> seperate xml file and then including it.
--
This message was sent by Atlassian JIRA
(v6.2#6252)