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
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM 6.3 coral ui 3 Touch UI - Entered Content Disappearing on multifield, After Validation Error of text field

Avatar

Avatar
Validate 1
Level 2
suniln13212398
Level 2

Likes

6 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 2
suniln13212398
Level 2

Likes

6 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
suniln13212398
Level 2

12-09-2018

  1. Remove the text in the Section Header field.
  2. Submit. You will see now that the fields under the multifield vanished and bad UI .
  3. Enter the Section Header text.
  4. Submit. And edit the cmp you see all fields normal.

On edit of cmp:

Screen Shot 2018-09-12 at 10.34.48 AM.png

On submit by removing the text-field value:

Screen Shot 2018-09-12 at 10.36.16 AM.png

Here is the code for cmp:

<?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="Related Articles"

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

    extraClientlibs="cq.relatedarticles.dialog">

    <content

        jcr:primaryType="nt:unstructured"

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

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

            <basic

                jcr:primaryType="nt:unstructured"

                jcr:title="Configuration"

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

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

                    <columns

                        jcr:primaryType="nt:unstructured"

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

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

                            <sectionHeader

                                jcr:primaryType="nt:unstructured"

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

                                fieldDescription="Suggested limit of 40 characters"

                                fieldLabel="Section Header"

                                name="./sectionHeader"

                                required="{Boolean}true"/>

                            <article

                                jcr:primaryType="nt:unstructured"

                                sling:resourceType="aarp/components/modular/granite/fixedlistmultifield/relatedarticle"

                                fieldDescription="Click the '+' to add a new article."

                                fieldLabel="Article"/>

                        </items>

                    </columns>

                </items>

            </basic>

        </items>

    </content>

</jcr:root>

Multifield code:

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

<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/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"

    sling:resourceType="granite/ui/components/foundation/form/fieldset"

    aarp-commons-nested="JSON_STORE"

    name="./article">

    <layout

        jcr:primaryType="nt:unstructured"

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

        method="absolute"/>

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

        <column

            jcr:primaryType="nt:unstructured"

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

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

                <articleUrl

                    jcr:primaryType="nt:unstructured"

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

                    fieldLabel="Article Url"

                    name="./articleUrl"

                    required="{Boolean}true"

                    rootPath="/content"/>

                <articleHeading

                    jcr:primaryType="nt:unstructured"

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

                    fieldLabel="Article Heading"

                    name="./articleHeading"

                    required="{Boolean}true"/>

                <articleSource

                    jcr:primaryType="nt:unstructured"

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

                    fieldLabel="Article Source"

                    name="./articleSource"

                    required="{Boolean}true"/>

            </items>

        </column>

    </items>

</jcr:root>

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,358 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,358 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

13-09-2018

Hi,

Could you please check your clientlibs code, if you have any.

One I can see is cq.relatedarticles.dialog

Avatar

Avatar
Validate 1
Level 2
suniln13212398
Level 2

Likes

6 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 2
suniln13212398
Level 2

Likes

6 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
suniln13212398
Level 2

14-09-2018

hi removed the client-lib its still the same. Thank you for looking in.

Avatar

Avatar
Give Back 50
Employee
Vish_dhaliwal
Employee

Likes

189 likes

Total Posts

356 posts

Correct Reply

123 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
Vish_dhaliwal
Employee

Likes

189 likes

Total Posts

356 posts

Correct Reply

123 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Vish_dhaliwal
Employee

14-09-2018

Hello,

It looks like you are hitting a known issue GRANITE-22267, which is backported to 6.3.3.0 as part of NPR-24177.

Please test with Sp3 and let us know.

Regards,

Vishu

Avatar

Avatar
Validate 1
Level 2
suniln13212398
Level 2

Likes

6 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 2
suniln13212398
Level 2

Likes

6 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
suniln13212398
Level 2

14-09-2018

Thank you Vishu, tried with service pack 3 still see the same.

Avatar

Avatar
Validate 1
Level 3
sr508
Level 3

Likes

2 likes

Total Posts

51 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 3
sr508
Level 3

Likes

2 likes

Total Posts

51 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
sr508
Level 3

07-05-2019

Hi suniln13212398,

Any update on the issue??
checked in 6.3.4 , i am still facing the issue.
Any solution found?

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,358 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,358 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

07-05-2019

You can try including fields using Include — Granite UI 1.0 documentation

rather than sling:resourceType or sling:resourceSuperType

include.PNG

Avatar

Avatar
Validate 1
Level 3
sr508
Level 3

Likes

2 likes

Total Posts

51 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 3
sr508
Level 3

Likes

2 likes

Total Posts

51 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
sr508
Level 3

07-05-2019

i tried that didnt work that approch as well

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,358 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,358 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

07-05-2019

I tried in 6.4 and working fine for me though I used Granite resources only. I can see in above example Multifield is still using Coral2.

But I will give a try in 6.3 and let you know.

Avatar

Avatar
Validate 1
Level 3
sr508
Level 3

Likes

2 likes

Total Posts

51 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 3
sr508
Level 3

Likes

2 likes

Total Posts

51 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
sr508
Level 3

07-05-2019

1748108_pastedImage_0.png

i am using only the coral resource types, please find the dialog structure above