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

[EMAIL PROTECTED] edited comment on TAPESTRY-1912 at 1/4/08 1:30 PM:
-----------------------------------------------------------------

Maybe I did not explain well, but this is really a bug.
t:container is not working well.

For example:

<t:container>
  <div>line 1</div>
  <div>line 2</div>
</t:container>

Will render only 
<div>line 2</div>

Also, as it is said in documentation - this is useful for component templates, 
so there we do not need to have single root.
One more thing - one may need to use <t:container> in template for some special 
partial page rendering.

      was (Author: [EMAIL PROTECTED]):
    Maybe I did not explain well, but this is really a bug.
t:container is not working well.

For example:

<t:container>
  <div>line 1</div>
  <div>line 2</div>
</t:container>

Will render only 
<div>line 1</div>

Also, as it is said in documentation - this is useful for component templates, 
so there we do not need to have single root.
One more thing - one may need to use <t:container> in template for some special 
partial page rendering.
  
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to