I am trying to get attribute value set in Slingmodel class. Below code
is used to set value of attribute "mycustomparam" in sling model.
model1.java request.setAttribute("mycustomparam", "value"); But unable
to get this value in HTL I have tried ${request.attribute @
mycustomparam} In other model2.java, i am able to get this value using
request.getAttribute('mycustomparam'); Is there any way to get value in
sightly instead of model?