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

Aleksandr Mashchenko commented on WW-4629:
------------------------------------------

Struts2 now use Tiles version 2.2.2, which supports [expression 
languages|https://tiles.apache.org/2.2/framework/tutorial/advanced/el-support.html#OGNL_Support].
 In Tiles definition xml it looks something like that - 
{{OGNL:requestScope.body}}, the {{OGNL:}} part tells which expression language 
is used.

Try to remove semicolon from your {{ATTN: Missing Page Title!}} definition or 
escape it somehow and see if it works.

> 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
>
> Tiles definition working with Struts2 release 2.3.24 stopped working in 
> 2.3.28+.
> Example:
> <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>
> 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)

Reply via email to