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 model...