I received an exception when selecting a menu item from the panelNavigation2
component:
... _id1 is duplicated in the faces tree ...
What I did was very simple:
>From the panelNavigation Examples I took the dynamic part PanelNavigation2
and included it in my simple MyFaces-Tiles application.
This is the jsp-snippet:
<h:panelGrid columns="1" >
<t:div id="subnavigation_outer">
<t:div id="subnavigation">
<t:panelNavigation2 id="nav1" layout="list" itemClass="mypage"
activeItemClass="selected" openItemClass="selected" >
<t:navigationMenuItems id="navitems"
value="#{navigationMenu.infoItems}" />
</t:panelNavigation2>
</t:div>
</t:div>
I also copied the basic.css into my tiles.css and extended the faces-config.
I'm pretty sure that the manual component id's are unique. But obviously
there are some created dynamically. When I remove the panelNavigation tag,
all works well.
What's the reason? Is it because of Tiles?
Any help is appreciated
Rudi Wöhrl
--
View this message in context:
http://www.nabble.com/panelNavigation2-dynamic%3A-_id1-is-duplicated-in-the-faces-tree-t1533883.html#a4167196
Sent from the MyFaces - Users forum at Nabble.com.