Variable value to granite:class
Hello All,
I am trying to add a dynamic value to a granite:class property. (To be used inside a multifield)
<type jcr:primaryType="nt:unstructured"
granite:class="unique-class-${requestPathInfo.suffixResource}"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
.....
</items>
</type>
In above eg, ${requestPathInfo.suffixResource} is surely not a variable. however I am looking for something I can use here that would be unique. Does anyone have any idea what else is accessible here? Like RequestPathInfo interface are there any other interfaces available that can be accessed here?
Thanks
