


Using AEM 6.3.3.0
I am trying to build scaffold for product entry using TouchUI. I need to add multifield for certain repeatable values, the added multifield is rendered as expected but on save the values are not persisted.
<tab1
jcr:primaryType="nt:unstructured"
jcr:title="Price"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<categoryKey
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
fieldLabel="Category Key"
name="./pricing/categoryKey"
value="pricing"/>
<categoryName
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldLabel="Category Name"
name="./pricing/categoryName"
required="true"/>
<category
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
composite="{Boolean}true"
fieldLabel="PRICING">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
eaem-nested=""
name="./pricing">
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<specKey
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldLabel="Spec Key"
name="./specKey"
required="true"/>
<specName
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldLabel="Spec Name"
name="./specName"
required="true"/>
<metricUnits
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldLabel="Metric Units"
name="./metricUnits"/>
<metricUnits2
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldLabel="Metric Units 2"
name="./metricUnits2"/>
<usUnits
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldLabel="US Units"
name="./usUnits"/>
<superscript
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldLabel="Superscript"
name="./superscript"/>
<disclaimerPath
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
fieldDescription="Browse to the text path of the disclaimer under disclaimer page"
fieldLabel="Disclaimer Content Path"
name="./disclaimerPath"
predicate="nosystem"/>
</items>
</column>
</items>
</field>
</category>
</items>
</tab1>
Does there need to be any other configuration or servlet to be placed for saving the multifield values?
If we add this multifield to page properties, there the changes are persisted successfully. Is the underlying concept to save using scaffolding different from that of properties? I looked at the logic for image(s)/assets - (resourceType - commerce/gui/components/admin/products/images) there are different servlets to save/delete and move actions.
Views
Replies
Sign in to like this content
Total Likes
This seems to be an existing issue. I don't have 6.3 to reproduce this Multifield not working in TouchUI product scaffolding 6.3 · Issue #114 · Adobe-Consulting-Services/a...
Views
Replies
Sign in to like this content
Total Likes
Is there a way to check if there is a solution for this? Or do i need to go via Day-Care route
Views
Replies
Sign in to like this content
Total Likes
Things you can do
1) Test this in 6.3 with out service pack 3 and confirm if it is working . If so go with a daycare ticket and fix it
2) if you have any UI expert in team who can crack the logic , may be you can fix this yourself
Views
Replies
Sign in to like this content
Total Likes