You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Barry Books (JIRA)" <ji...@apache.org> on 2016/08/22 16:00:23 UTC

[jira] [Commented] (TAP5-2104) Dynamic template parser does not support t:container

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

Barry Books commented on TAP5-2104:
-----------------------------------

I believe  this is still a problem but easily solved with a mixin that removes t:container if needed so a fix is not required.

> Dynamic template parser does not support t:container
> ----------------------------------------------------
>
>                 Key: TAP5-2104
>                 URL: https://issues.apache.org/jira/browse/TAP5-2104
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.4
>            Reporter: Barry Books
>            Priority: Minor
>              Labels: bulk-close-candidate
>
> Templates must be valid XML so they must have 1 root element. Sometime it's not desirable for that root element to be rendered in the final page so t:container can be used as the root element. This works for pages and components but not Dynamic component templates. When used in a Dynamic template t:container is rendered as a component element.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)