I am using sightly to access the design dialog properties for a component. something like
<span data-sly-test="${currentStyle.delimiter}">${currentStyle.delimiter}</span>
but all I am getting is an empty string.
I tried to resolve the issue by trying out the following.
- Activating the design node
- Deleting the page and creating a new page.
- Deleting components and dragging and dropping the component again on the page.
- I checked the JSON output of currentDesign and all the values am trying to access are available there.
cq:designPath
property in the homepagejcr:content
node. In case the design path is not mentioned, then it would be/etc/designs/default
. You can also check using${currentStyle.path}
to check the path of your currentStyle – rakhi4110/etc/designs/corporate/global/<appname>/jcr:content/page/par-main/column-control/par-col-1/<componentname>
publish:/etc/designs/corporate/global/<appname>/jcr:content/page/column-control/par-col-1/<componentname>
– amitdeol/etc/designs/corporate/global/<appname>/jcr:content/page/par-main/column-control/par-col-1/<componentname>
only for both the instances. – amitdeol