[ 
https://issues.apache.org/jira/browse/TILES-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Petrelli updated TILES-512:
-----------------------------------


If the "extends" attribute is declared and no "templateType" is declared, 
simply set templateType to null. When resolving inheritance, it will be 
inherited from parent.

> Definition "templateType" attribute not propagated to extending definition
> --------------------------------------------------------------------------
>
>                 Key: TILES-512
>                 URL: https://issues.apache.org/jira/browse/TILES-512
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.1.4, 2.2.2
>            Reporter: David Hay
>            Assignee: Antonio Petrelli
>             Fix For: 2.2.3
>
>         Attachments: extends-templateType.xml, TestDefinitionExtension.java
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to