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

Christian E Gruber commented on TAPESTRY-1912:
----------------------------------------------

Actually, even with templates you need a single root, since all components need 
to be valid xml/sgml.  Partial pages must still conform.  You cant do a header 
that's
-----
<html>
  <head><title>blah</title><head>
  <body>
-----

then a footer that's

-----
   </body>
</html>
-----


That's old-school jsp fragment stuff.  If you want that, you use multiple 
components.
Unless I'm misunderstanding what you're trying to do with partials... 



> 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