Hi,
In AEM5.6, I was able to create a component which has a child parsys like this:
<%@include file="/libs/foundation/global.jsp"%>
<div class="group">
<cq:include path="question_list" resourceType="foundation/components/parsys" />
</div>
I've tried to do the same in Sightly like this:
<div>
<section class="question_list"
data-sly-resource="${'question_list' @ resourceType='wcm/foundation/components/parsys'}">
</section>
</div>
This lets me drag my component onto the page. However, in Sightly, when I drag a component into my question_list component, it actually gets added to the parent parsys, not to the question_list
Am I doing something wrong, or is this an issue with Sightly and/or the new Touch UI Parsys (I tried the foundation parsys also with the same result), but the parent is a Touch UI Parsys.
Thanks!
Solved! Go to Solution.
Hey Tim,
Can you double check your CRXDE Lite content area? I just tried the same situation in the touch UI and I agree it doesn't look like it is part of the "sub" paragraph, but when I look in CRXDE it does in fact show the component I added to the "sub" paragraph as being part of that paragraph, not the parent paragraph.
Thanks,
Brad
Views
Replies
Total Likes
Hi,
Try using this:
<div data-sly-resource ="${@path='question_list', resourceType='wcm/foundation/components/parsys'}"></div>
Thanks,
Nikunj
Views
Replies
Total Likes
Hey Tim,
Can you double check your CRXDE Lite content area? I just tried the same situation in the touch UI and I agree it doesn't look like it is part of the "sub" paragraph, but when I look in CRXDE it does in fact show the component I added to the "sub" paragraph as being part of that paragraph, not the parent paragraph.
Thanks,
Brad
Views
Replies
Total Likes
Hi Nikunj
I tried the same thing which you've highlighted but still seeing the same issue.
<div data-sly-resource="${ @path='thirdrow-parsys',resourceType='wcm/foundation/components/parsys'}" data-sly-unwrap></div>
If i add another component to same parsys it does not open dialog for previous one, instead it opens up dialog of last added component in that parsys.
Let me know if you know about the solution.
Views
Replies
Total Likes
The behaviour you've described was confirmed by Adobe as a Bug. If you contact Daycare you can get a hotfix.
Regards,
Tim
Views
Replies
Total Likes
<html>
<div data-sly-include="head.html"></div>
<div data-sly-include="/libs/wcm/core/components/init/init.jsp"></div>
<body>
<h1>This is our rendering script</h1>
<div data-sly-resource="${@path='par',resourceType='wcm/foundation/components/parsys'}"></div>
</body>
</html>
kind regards,
Kaushik
Views
Like
Replies
Views
Likes
Replies