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

Is tabs widget not supported for AEM SDK?

Avatar

Level 2

While creating a custom component, giving tabs widget from Coral and Granite UI , the tabs title is not rendering on page.

Kindly Help me clear my doubt!!!

@arunpatidar 

 

 

<content jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns">

<items jcr:primaryType="nt:unstructured">

<tabs jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/tabs">

<items jcr:primaryType="nt:unstructured">

<basicDetails jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
jcr:title="Basic Details">

<items jcr:primaryType="nt:unstructured">

<productName jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Product Name"
fieldDescription="Enter name of the product"
name="./productName"/>

 

In the above code the "basic details" title tabs is not showing on the dialog when component is dragged and dropped on the page.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Level 2

Hi Arun,

Thanks for guiding , you are right. But actually the issue was that in latest aem sdk version, if we create a single tab then it won't be visible but creating another tab will show both the tabs .

Thanks.