In the previous illustration, notice that the Page Name and Path controls are used within a multi-field control. When an author clicks the Add Field button, a new area that contains a Page Name control and Path control appears. This lets an author dynamically enter as many values as required into the dialog. These values are used by the component.
The component created in this article is a HTL component. When using HTL, you can use Java to retrieve the values that an author enters into a dialog. For example:
As discussed in this article, the Java class that you use as part of a HTL component extends com.adobe.cq.sightly.WCMUsePOJO.
This article walks you though how to build this HTL component that uses a multi-field control within its dialog.
- To read this article, click https://helpx.adobe.com/experience-manager/using/mf_htl61.html.
- To watch the video - click https://www.youtube.com/watch?v=iKVGlo3iM-o&feature=youtu.be.