Skip to main content
New Participant
August 30, 2016

Not able to Edit Component if it's embedded inside other component

  • August 30, 2016
  • 17 replies
  • 7343 views

Hi Team,

Aem Version- 6.2

We are facing an issue where in we are not able to open the dialog if component is embedded inside another component.

For ex-

We have product grid component where we will have "N" subproducts which will have their own dialog.

So here in product grid component we have added "N" number of product component but we are able to edit the product component as not able to use it's dialog. 

If someone had faced the same issue, Kindly help.

Regards

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

17 replies

smacdonald2008
New Participant
September 1, 2016

Make sure the JCR nodes you are using are valid for a design dialog. 

antoniom5495929
New Participant
August 31, 2016
        Ok, So what you could try is to remove all your custom css rules and check if it works. if yes you have some css rules in conflict with AEM. Let me know.
New Participant
August 31, 2016

antoniom54959291 wrote...

Ok, So what you could try is to remove all your custom css rules and check if it works. if yes you have some css rules in conflict with AEM. Let me know.

 


I tried in we retail demo site as well, tried including breadcrumb inside productgrid component.

But still its not editable when productgrid component dragged and dropped into men page.

New Participant
August 31, 2016

ankur_khare wrote...

antoniom54959291 wrote...

Ok, So what you could try is to remove all your custom css rules and check if it works. if yes you have some css rules in conflict with AEM. Let me know.

 


I tried in we retail demo site as well, tried including breadcrumb inside productgrid component.

But still its not editable when productgrid component dragged and dropped into men page.

 

 


Hi,

If you have embedded a component inside another component could you please share the steps.

Regards

Ankur

antoniom5495929
New Participant
August 31, 2016
        Try to remove the data-sly-unwrap.
New Participant
August 31, 2016

antoniom54959291 wrote...

Try to remove the data-sly-unwrap.

 


Hi,

Tried but still it's not working.

Regards

Ankur

antoniom5495929
New Participant
August 30, 2016
        How you embed this component? Using data-sly-resource? If yes in which html tag?
New Participant
August 31, 2016

I have added like below-

   <div  data-sly-resource="${ @ path='card', resourceType='/apps/projectname/components/content/card''}" data-sly-unwrap></div>