Touch UI dialog is showing the parent component dialog tabs | Community
Skip to main content
Sandeep_Rawat
Level 2
October 16, 2015
Solved

Touch UI dialog is showing the parent component dialog tabs

  • October 16, 2015
  • 2 replies
  • 1918 views

Hi All,

I am working on the migration of the cq components to touch ui compatible and converting all the dialogs into touch ui cq:dialog. Few of the components are inherited from the other components, now if I am converting the dialog to cq:dialog for touch ui support, it is also showing the parent dialog tabs and properties as well. I would like to stop dialog inheritance in the child component as it is creating so many tabs configuration which is confusing sometimes. Whereas the existing dialog is showing only relevant tabs and its properties in the dialog.

Please suggest if someone else faced this issue while working with AEM 6.1

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

I think the sling resource merger is doing its job. In this case - try removing sling:resourceSuperType on child component to break the inheritance - this may give you the results you are seeking. 

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

I think the sling resource merger is doing its job. In this case - try removing sling:resourceSuperType on child component to break the inheritance - this may give you the results you are seeking. 

Sandeep_Rawat
Level 2
October 16, 2015

Hi, Thanks for the information, if I remove all the sling:resourceSuperType from the existing working website, I will surely break many functionalities to run the touch ui properly. The original functionality is working fine and the old dialog is working fine without the inheritance. Please suggest if anything we can do to stop dialog inheritance.