Tolc / IntelliJ_Jahia_plugin

Jahia's definitions.cnd files syntax highlighting, code completion, and other amazing stuff
Apache License 2.0
22 stars 3 forks source link

Generated JSP code for 'multiple' properties is missing accessor #30

Closed Tolc closed 7 years ago

Tolc commented 7 years ago

In definitions.cnd: - indices (string) multiple

Generated JSP code:

<c:set var="indices" value="${currentNode.properties['indices']}"/>
<c:forEach items="${indices}" var="item">
    ${item}
</c:forEach>

Should be ${item.string} instead of ${item}. Of course depending on the property type declared.