我有輕微的代碼是這樣的: <ul class="topnav" data-sly- use.topnav="com.company.companysite.util.myJavaClass" data-sly-list="${topnav.getPathValueMap}">
<li>${!item}></li> (what do I put here??)
</ul>
和Java
我試圖調試存儲在JCR中的JavaScript,並通過Sightly模板語言的JavaScript UseAPI在Rhino上運行服務器。 按在sling.properties提供的說明: # To enable the current server side debugging in the Rhino interpreter
# set the org.apache.sling.script