Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Coral2 to Coral3 conversion - Granite UI container

Avatar

Level 1

Found this issue while upgrading my dialogs from Coral2 to Coral3

 

I have within one of my components a tab structure that begins like this

<tabs jcr:primaryType="nt:unstructured"
                sling:resourceType="granite/ui/components/foundation/container"
                rel="cq-siteadmin-admin-properties-tabs">
 
When I upgrade the sling resource type to coral3 using the suggested replacement /granite/ui/components/coral/foundation/container Container — Granite UI 1.0 documentation (adobe.com)
 
, The tab structure breaks. Does anyone know why it breaks? How to stop it and how to fix it?
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@kabynoe01 ,

If allowed, please post you converted dialog xml code here in the post with some issue screenshots to better help you. Meanwhile, please add the below snippet under the <tabs> xml node and add your tab items under this node.

<layout
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/layouts/tabs"
type="nav"/>

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@kabynoe01 ,

If allowed, please post you converted dialog xml code here in the post with some issue screenshots to better help you. Meanwhile, please add the below snippet under the <tabs> xml node and add your tab items under this node.

<layout
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/layouts/tabs"
type="nav"/>