Hello everyone. I explain my problem. I have a component and i use the parsys supertype from wcm/foundation.
But my question is: Is it possible to keep use the core parsys, and then include another editconfig to the component that use the parsys?
I dont want to make a parsys component and then use it for everything.
Thank you
Solved! Go to Solution.
You can create a "_cq_childEditConfig.xml" config under your main component which contains the parsys component.and control the buttons available for the parsys editbar through cq:actions
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
cq:actions="[edit]"
jcr:primaryType="cq:EditConfig">
<cq:listeners
jcr:primaryType="cq:EditListenersConfig"
afteredit="REFRESH_PAGE"
afterinsert="REFRESH_PAGE"/>
</jcr:root>
IN your custom component - what is your exact super resource type?
There should be no reason why you would need to create a custom parsys.
Views
Replies
Total Likes
My component is a column with a parsys as resource type. And the supertype of this component is parbase.
Its ok to have parsys, but i just want to remove some options in the edit bar. Thats why
Views
Replies
Total Likes
Does anyone have an idea about this?
Views
Replies
Total Likes
Can you share some code here or atleast elaborate steps you are tring to do ?
Your requirement is unclear.
my question is: Is it possible to keep use the core parsys, and then include another editconfig to the component that use the parsys?
Do you want to have an edit bar on the parsys placeholder ?
Views
Replies
Total Likes
Exactly. Im using the core parsys in my component, its a column container that has parsys. But i want o inject another edit bar like the parsys one but without "delete".
Views
Replies
Total Likes
You want to overlay the Parsys component and drop that into your container component. In your parsys - you want to remove the delete button - that is what you want?
Views
Replies
Total Likes
You can create a "_cq_childEditConfig.xml" config under your main component which contains the parsys component.and control the buttons available for the parsys editbar through cq:actions
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
cq:actions="[edit]"
jcr:primaryType="cq:EditConfig">
<cq:listeners
jcr:primaryType="cq:EditListenersConfig"
afteredit="REFRESH_PAGE"
afterinsert="REFRESH_PAGE"/>
</jcr:root>
I have been struggling with this exact problem for three days now. Thank you for this solution!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies