Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM 6.3 Coral3 Nested Multifield - Dialog Submission is not working

vikashy47555224
Level 2
Level 2

HI,

We have component dialog using Coral3 multifield(/libs/granite/ui/components/coral/foundation/form/multifield). When we submit dialog it does not close and save content. Below is dialog content.xml

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"

    jcr:primaryType="nt:unstructured"

    jcr:title="IB Contact Us"

    sling:resourceType="cq/gui/components/authoring/dialog">

    <content

        jcr:primaryType="nt:unstructured"

        sling:resourceType="granite/ui/components/coral/foundation/tabs">

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

            <tab1

                jcr:primaryType="nt:unstructured"

                jcr:title="Contact US"

                sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns">

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

                    <column

                        jcr:primaryType="nt:unstructured"

                        sling:resourceType="granite/ui/components/foundation/container">

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

                            <title

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

                                fieldLabel="Link Title"

                                name="./title"

                                value="Contact US"/>

                            <disclaimer

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

                                fieldLabel="Disclaimer Text"

                                name="./disclaimertext"

                                value="How we use personal information?"/>

                            <policyredirect

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"

                                fieldLabel="Privacy policy page"

                                name="./policypage"

                                rootPath="/content/en"/>

                            <services

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="granite/ui/components/coral/foundation/form/multifield"

                                composite="{Boolean}true"

                                fieldDescription="Click the 'Add' button to add a new data"

                                fieldLabel="Contact Us Data">

                                <field

                                    jcr:primaryType="nt:unstructured"

                                    sling:resourceType="granite/ui/components/coral/foundation/container"

                                    name="./cat1contact">

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

                                        <column

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/coral/foundation/container">

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

                                                <cat1contactus

                                                    jcr:primaryType="nt:unstructured"

                                                    sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

                                                    fieldLabel="ContactUs category 1 "

                                                    name="./cat1contactus"/>

                                                <category2multifield

                                                    jcr:primaryType="nt:unstructured"

                                                    sling:resourceType="granite/ui/components/coral/foundation/form/multifield"

                                                    composite="{Boolean}true"

                                                    fieldLabel="Contact Us Category2">

                                                    <field

                                                        jcr:primaryType="nt:unstructured"

                                                        sling:resourceType="granite/ui/components/coral/foundation/container"

                                                        name="./cat2contact">

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

                                                            <column

                                                                jcr:primaryType="nt:unstructured"

                                                                sling:resourceType="granite/ui/components/coral/foundation/container">

                                                                <items

                                                                    jcr:primaryType="nt:unstructured"

                                                                    jcr:title="Category2"

                                                                    sling:resourceType="granite/ui/components/coral/foundation/container">

                                                                    <cat2contactus

                                                                        jcr:primaryType="nt:unstructured"

                                                                        sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

                                                                        fieldLabel="ContactUs category2"

                                                                        name="./cat2contactus"/>

                                                                </items>

                                                            </column>

                                                        </items>

                                                    </field>

                                                </category2multifield>

                                            </items>

                                        </column>

                                    </items>

                                </field>

                            </services>

                        </items>

                    </column>

                </items>

            </tab1>

        </items>

    </content>

</jcr:root>

0 Replies