when I use this construct
<t:panelNavigation2 id="panel-nav" expandAll="true">
<c:forEach items="#{bean.menuItems}" var="menuitem">
<t:navigationMenuItem value="#{menuitem.value}"
id="#{menuitem.label}" />
</c:forEach>
</t:panelNavigation2>
I get a NullPointerException in the method getMenuItems(). On the other hand
<t:panelNavigation2 id="panel-nav" expandAll="true">
<t:navigationMenuItems value="#{splex.menuItems}" />
</t:panelNavigation2>
does work just fine. Where is the difference?
My overall goal is to provide each NavigationMenuItem with a unique id.
Best regards Edmond