Expand my Community achievements bar.

Multifield within page create dialog

Avatar

Level 2

Hello,

I'm using a multifield within the page create dialog. But when creating a page, the multifield isn't rendered. It's only rendered when editing the page properties after creation.

This pretty simple code I added to the dialog items:

 

Spoiler
<test
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
fieldLabel="My Multifield"
composite="{Boolean}true">
<title
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="My Multifield Item"
required="{Boolean}true"
name="./multifieldItem"/>
</test>

 

My page has the resource supertype:

core/wcm/components/page/v2/page

I also copied the node to the core page dialog to prevent, that any JS or other code of my page obstruct the rendering of the multifield. But there it isn't rendered, too. The render.jsp of the multifield has never been called. There are no errors in the JS console.

 

And also when I use wcm/foundation/components/page as resource supertype, it doesn't have an effect.

 

My system properties: Adobe Experience Manager 6.5.2.0

 

Thanks for helping me!

Andrea

0 Replies