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+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.3.28
    • 2.3.29
    • Plugin - Tiles
    • None
    • 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

            Unassigned Unassigned
            pauldeg paul deg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: