Uploaded image for project: 'Tiles'
  1. Tiles
  2. TILES-512

Definition "templateType" attribute not propagated to extending definition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.4, 2.2.2
    • 2.2.3
    • tiles-core
    • None

    Description

      If I have a template definition with a custom "templateType" attribute, child definitions that extend that definition do not pick up the custom templateType attribute value. They get the default "template" value. For example:

      <definition name="parent" template="mytemplate.vm" templateType="custom"/>
      <definition name="child" extends="parent"/>

      Attachments

        1. extends-templateType.xml
          0.4 kB
          David Hay
        2. TestDefinitionExtension.java
          2 kB
          David Hay

        Activity

          People

            brenmcguire Antonio Petrelli
            dhay David Hay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: