Hi All,
One of the article mentions this, but I am not getting what exactly it means. Any thoughts on this will be helpful.
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
- 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.