You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Christian Köberl (JIRA)" <de...@tapestry.apache.org> on 2008/02/29 16:30:51 UTC

[jira] Commented: (TAPESTRY-1912) t:container does not render its body properly

    [ https://issues.apache.org/jira/browse/TAPESTRY-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573788#action_12573788 ] 

Christian Köberl commented on TAPESTRY-1912:
--------------------------------------------

Just tried:
<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
  <div>line 1</div>
  <div>line 2</div>
</t:container>

It renders both lines:
<div>line 1</div><div>line 2</div>

Maybe the missing namespace?

> t:container does not render its body properly
> ---------------------------------------------
>
>                 Key: TAPESTRY-1912
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1912
>             Project: Tapestry
>          Issue Type: Sub-task
>          Components: tapestry-core
>    Affects Versions: 5.0.6
>            Reporter: Kalin Krustev
>            Assignee: Howard M. Lewis Ship
>
> Only part of the markup is rendered.
> Cause:
> org.apache.tapestry.dom.Document supports only single root tree structure, so when we have non tree structured template, org.apache.tapestry.internal.services.MarkupWriterImpl.element() calls several times org.apache.tapestry.dom.Document.newRootElement() and the previous markup is lost. My opinion is to make org.apache.tapestry.dom.Document support multiple root tree structure.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org