[ https://issues.apache.org/jira/browse/WW-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317136#comment-15317136
]
paul deg edited comment on WW-4629 at 6/6/16 8:11 PM:
------------------------------------------------------
This is legacy code which I didn't write, so not sure why it was written like this, and it
does work with 2.3.24 plugin.
So I removed scrips from bodies of "insertAttribute" calls, and added "cascade=true" to base
definition and to the child defs. And it works!
Thanks.
was (Author: pauldeg):
This is legacy code which I didn't write, and it does work with 2.3.24 plugin.
So I removed scrips from bodies of "insertAttribute" calls, and added "cascade=true" to base
definition and to the child defs. And it works!
Thanks.
> Tile definition Inheritance/overriding is broken in Struts2 tiles plugin 2.3.28+
> --------------------------------------------------------------------------------
>
> Key: WW-4629
> URL: https://issues.apache.org/jira/browse/WW-4629
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Tiles
> Affects Versions: 2.3.28
> Reporter: paul deg
> Fix For: 2.3.29
>
>
> Tiles definition working with Struts2 release 2.3.24 stopped working in 2.3.28+.
> Example:
> {code:xml}
> <definition name="layouts.enroll.resp" template="/WEB-INF/tiles/EnrollmentLayout_resp.jsp"
>
> <put-attribute name="app" value="Banking" />
> <put-attribute name="title" value="ATTN: Missing Page Title!" />
> <put-attribute name="content" />
> </definition>
> <definition name="enrollment.resp.choose" extends="layouts.enroll.resp">
> <put-attribute name="content" value="/ChooseService_Captcha.jsp" />
> <put-attribute name="title" value="Sign Up for Online Access" cascade="true"/>
> </definition>
> {code}
> Value of attribute "title" defined in "enrollment.resp.choose" definition is not available
in any scope.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|