我遵循了一些Adobe文档,使用crxde创建了对话框和手风琴节点。 当我编辑页面时,它显示一个带有手风琴的对话框。但是我的问题是手风琴只有标题栏没有内容。如何在手风琴的每个标签内添加内容?
注意:sling:resourceType = granite / ui / components / coral / foundation / accordion
答案 0 :(得分:1)
我使用这样的东西:
<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>