Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 5.0.10
-
Fix Version/s: None
-
Component/s: tapestry-core
-
Labels:None
Description
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.
Attachments
Issue Links
- is related to
-
TAP5-349 Tapestry silently allows a MarkupWriter to set a series of root elements, ignoring all but the last. A document should only have a single root element and this situation should be an immediate exception.
-
- Closed
-