Class MultiFieldPanelFunctions


  • @ProviderType
    public final class MultiFieldPanelFunctions
    extends Object
    JSP functions for working with MultiFieldPanel widget.
    • Method Detail

      • getMultiFieldPanelValues

        public static List<Map<String,​String>> getMultiFieldPanelValues​(org.apache.sling.api.resource.Resource resource,
                                                                              String name)
        Extract the value of a MultiFieldPanel property into a list of maps. Will never return a null map, but may return an empty one. Invalid property values are logged and skipped.
        Parameters:
        resource - the resource
        name - the property name
        Returns:
        a list of maps.