Hi I am trying to convert my existing jsp to htl. I am stuck at
preparing valuemapresource which was included in jsp like belowValueMap
vm= new ValueMapDecorator(new HashMap<>());vm.put("granite:class",
"classname");vm.put("value", value);vm.put("name", name);vm.put("text",
text);ValueMapResource valueMapResource = new
ValueMapResource(resourceResolver, resource.getPath(),
"granite/ui/components/coral/foundation/form/checkbox",
vm); I wanted to
convert this above snippet to HTL using data-sly-re...