Why dialog properties are getting inheritance in touch ui whereas classic ui doesn't inherit dialog properties | Community
Skip to main content
Sandeep_Rawat
Level 2
October 16, 2015
Solved

Why dialog properties are getting inheritance in touch ui whereas classic ui doesn't inherit dialog properties

  • October 16, 2015
  • 2 replies
  • 2156 views

Hi All,

As I am migrating all the classic ui components into touch ui following the dialog conversion instruction, I see the dialog property tabs are automatically getting inherited in the component in touch ui mode. Whereas the classic ui doesnt inherit parent properties, is there any way to stop inheritance at dialog level. As the parents properties has nothing to do in the child page properties.

Please share if anyone has any information about this issue.

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 kautuk_sahni

Hi Sandeep Rawat 

Just adding to what Scott already have mentioned to give you more clarity,

 

slingSuperResourcetype: It is used to inherit / extend components from foundation or other components. There is a good example to understand it completely. Consider components a , b, c, x, y with the below mentioned properties for each of them :

/

a

b

sling:resourceSuperType = a

c

sling:resourceSuperType = b

x

sling:resourceType = c

y

sling:resourceType = c

sling:resourceSuperType = a

The type hierarchy of

/x is [ c, b, a, <default>] while for

/y the hierarchy is [ c, a, <default>]

because /y has the sling:resourceSuperType property whereas /x does not and therefore its supertype is taken from its resource type.

 

Iparsys : The inherited paragraph system is a paragraph system that also allows you to inherit the created paragraphs from the parent. You add paragraphs to iparsys at for example, /content/geometrixx/en/products and as result, all the subpages of products that also have iparsys with the same name inherit the created paragraphs from the parent. On each level, you can add more paragraphs, which are then inherited by the children pages. You can also cancel paragraph inheritance at a level at any time.

Simply, iparsys is a parsys that inherits it’s content from the ancestor pages.

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

2 replies

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
October 16, 2015

Hi Sandeep Rawat 

Just adding to what Scott already have mentioned to give you more clarity,

 

slingSuperResourcetype: It is used to inherit / extend components from foundation or other components. There is a good example to understand it completely. Consider components a , b, c, x, y with the below mentioned properties for each of them :

/

a

b

sling:resourceSuperType = a

c

sling:resourceSuperType = b

x

sling:resourceType = c

y

sling:resourceType = c

sling:resourceSuperType = a

The type hierarchy of

/x is [ c, b, a, <default>] while for

/y the hierarchy is [ c, a, <default>]

because /y has the sling:resourceSuperType property whereas /x does not and therefore its supertype is taken from its resource type.

 

Iparsys : The inherited paragraph system is a paragraph system that also allows you to inherit the created paragraphs from the parent. You add paragraphs to iparsys at for example, /content/geometrixx/en/products and as result, all the subpages of products that also have iparsys with the same name inherit the created paragraphs from the parent. On each level, you can add more paragraphs, which are then inherited by the children pages. You can also cancel paragraph inheritance at a level at any time.

Simply, iparsys is a parsys that inherits it’s content from the ancestor pages.

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
smacdonald2008
Level 10
October 16, 2015

If you remove the resourceSuperType prop - it breaks inheritance.