On edit of cmp:
On submit by removing the text-field value:
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>
Views
Replies
Total Likes
Hi,
Could you please check your clientlibs code, if you have any.
One I can see is cq.relatedarticles.dialog
Views
Replies
Total Likes
hi removed the client-lib its still the same. Thank you for looking in.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Thank you Vishu, tried with service pack 3 still see the same.
Views
Replies
Total Likes
Hi suniln13212398,
Any update on the issue??
checked in 6.3.4 , i am still facing the issue.
Any solution found?
Views
Replies
Total Likes
You can try including fields using Include — Granite UI 1.0 documentation
rather than sling:resourceType or sling:resourceSuperType
Views
Replies
Total Likes
i tried that didnt work that approch as well
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
i am using only the coral resource types, please find the dialog structure above
Views
Replies
Total Likes
Views
Likes
Replies