Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4629

Tile definition Inheritance/overriding is broken in Struts2 tiles plugin 2.3.28+

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.3.28
    • Fix Version/s: 2.3.29
    • Component/s: Plugin - Tiles
    • Labels:
      None
    • Flags:
      Important

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pauldeg paul deg

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment