Granite multifield with composite subcomponents | Community
Skip to main content
October 16, 2015
Solved

Granite multifield with composite subcomponents

  • October 16, 2015
  • 1 reply
  • 1056 views

According to the docs in /libs/granite/ui/components/foundation/form/multifield/render.jsp there is the possibility to have several subcomponents within a multifield:

...  

* If the subcomponent is a composite, it is its responsibility to concatenate the fields into
 * one, before the form gets submitted, and to separate them again on rendering

....

Does someone have an example for such a multifield with a composite children? The only references to multifield I found in AEM6 were with only one simple component as a child.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

Please refer to the documentation https://blogs.perficient.com/2018/08/24/using-sling-models-with-nested-composite-mulitifields-in-aem-6-3/ 
It uses multifield with multiple fields.

 

 

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
December 6, 2023

Please refer to the documentation https://blogs.perficient.com/2018/08/24/using-sling-models-with-nested-composite-mulitifields-in-aem-6-3/ 
It uses multifield with multiple fields.

 

 

Aanchal Sikka