Developer
Jahia 7.3
Jahia 8
No render set for node j:acl
Question
When editing, I have such a message "no render set for node : j:acl for types : [jnt:acl]"
What is wrong with my site?
Answer
If you try to iterate all sub-nodes from a list, you may need to only display non system nodes. For instance, you should not list all children using such a for each:
<c:forEach items="${currentNode.nodes}" var="subList" varStatus="status">
Prefere this approch:
<c:forEach items="${jcr:getChildrenOfType(currentNode, jcr:getConstraints(currentNode))}" var="subList" varStatus="status">
Explanation: If you use a code like ${currentNode.nodes}
then all nodes will be returned also system nodes like j:acl
the jcr:getConstraints(currentNode)
returns all types which are allowed for a rendering, which means j:acl
, jnt:translation
nodes and some other system nodes are excluded, which not allowed as sub-nodes.