Reputation: 563
I followed some adobe document to create dialog and accordion node using crxde. When I am editing page it shows a dialog with the accordion. But my problem is the accordion only have title bar no content. How to add content inside each tab of the accordion?
Note: sling:resourceType = granite/ui/components/coral/foundation/accordion
Upvotes: 1
Views: 2006
Reputation: 11
I use something like this:
<accordion
sling:resourceType="granite/ui/components/coral/foundation/accordion"
multiple="{Boolean}true" variant="quiet" margin="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<landers jcr:title="Landers" jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<name jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldLabel="Name *" name="./name" required="{Boolean}true"
rowresume="{Boolean}true" />
</items>
<parentConfig jcr:primaryType="nt:unstructured"
active="{Boolean}true" />
</landers>
</items>
</accordion>
Upvotes: 1