You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "John Patrick (JIRA)" <ji...@apache.org> on 2012/11/01 14:03:12 UTC
[jira] [Updated] (WW-3911) Extends differences when in single
struts.xml compared to imported via includes
[ https://issues.apache.org/jira/browse/WW-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Patrick updated WW-3911:
-----------------------------
Attachment: using-includes-struts-public.xml
using-includes-struts.xml
all-in-one-struts.xml
No difference between
all-in-one-struts.xml
And
using-includes-struts.xml / using-includes-struts-public.xml
When using the includes the specific error is;
Caused by: There is no result type defined for type 'tiles' mapped with name 'input'. Did you mean 'tiles'? - result - file:/TRIMMED/using-includes-struts-public.xml
> 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
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira