Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

data-sly-resource statement and its options?


Level 7


I was looking over the expression options used in sightly. I tried the below line of code, but it seems just render a modal. Can someone provide use of options with some good examples. I mostly do not understand the data-sly-resource statement and its options.

<sly data-sly-test="${modal.hasModal && modal.validXfPath}"
data-sly-resource="${@path=modal.modalPath, appendPath='jcr:content', resourceType='xxx/components/structure/xfpage', selectors='content', wcmmode='disabled'}"></sly>


0 Replies