@Keerthana_H_N I guess you want to show the multifield items in a dropdown(select).I have a nested multifield with name options. Multifield has textfield name ./optionBelow is HTL to render multifield items as select.<sly data-sly-list.children="${resource.getChildren}">
<sly data-sly-test="${ch...
@TB3dock Registering Servlet using ResourceType:I have a component Demo (/apps/ata/components/demo). Now am registering the Servlet with the resource type of my demo component.import javax.servlet.Servlet;
import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.api.SlingHttpSer...
@TB3dock You will get NullPointerException if any one of variables is null. allProps.putAll(props);allProps and props should not be null. Please check.
@Ganthimathi_R If message if the main tab and item0 and item1 are sub-tabs and title1 and title2 are text fields under item0 and item1 respectively. Try name property value of title1 is ./message/item0/title1 similarly for title2 ./message/item1/title2
@Shaheena_Sheikh Any console errors? It should work. I think .each close parenthesis is missing.[Update]: Checked updated code, [0] is missing at let fontField = $(this).find(".fontField")[0];Adding that should work.