You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Properties set on the root element of an Experience Fragment in the XF Template Structure are rendered when the XF is included in a page via the WCM Core Experience Fragment component.
Actual Behaviour
When a XF is included in a page via the WCM Core Experience Fragment component, structure elements are rendered correctly for all child resources of the root, but the root element is NOT rendered with its structure properties.
When the Page node is rendered, the root element HTML has id this-should-be-ignored from the Experience Fragment content node, when instead it should have id-from-structure from the XF template structure node.
Instead of rendering the templated root resource, the HTML file delegates to a new data-sly-resource pointed at the resource content path, thus losing the structure elements from the template.
The text was updated successfully, but these errors were encountered:
Expected Behaviour
Properties set on the root element of an Experience Fragment in the XF Template Structure are rendered when the XF is included in a page via the WCM Core
Experience Fragment
component.Actual Behaviour
When a XF is included in a page via the WCM Core
Experience Fragment
component, structure elements are rendered correctly for all child resources of the root, but the root element is NOT rendered with its structure properties.Reproduce Scenario (including but not limited to)
Template Content Node:
Template Root Node:
Experience Fragment Content Node:
Experience Fragment Root Node:
Page Rendering Node:
When the Page node is rendered, the
root
element HTML has idthis-should-be-ignored
from the Experience Fragment content node, when instead it should haveid-from-structure
from the XF template structure node.Cause
This appears to be caused by https://github.com/adobe/aem-project-archetype/blob/develop/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/xfpage/content.html
Instead of rendering the templated root resource, the HTML file delegates to a new
data-sly-resource
pointed at the resource content path, thus losing the structure elements from the template.The text was updated successfully, but these errors were encountered: