two different components with the same path on the same page
Hi all
i have a bit of an odd problem.
We like to include two different components (both having an EditBar) on the same page, both using the same resource path:
<cq:include path="header" resourceType="/apps/header" /> <cq:include path="header" resourceType="/apps/title" />
We're already live with our page where there is only one component and all data is stored in the "header" node. Now the customer wants to split it in two components, but the data that was already entered should still be available and editable.
When I test the page in the browser, i have following results:
The content of both components are displayed on the rendered page, but the EditBar of the second component is missing.
I've analysed the WCM JavaScript code and figured out, that the resource path is used as identifier of the EditBar. Therefore, as i have used the same path twice, only one EditBar will be created.
Is there any way I can have two components with the same path on the same page?
Or any other suggestions to approach this task?
Thanks in advance and best regards