I presume you are using 1.1.1? If so, move to 1.1.2, the duplicate ID
bug was fixed in that release (1.1.2 core is released and we are
waiting on the tomahawk release to go with it).
-Andrew
On 4/30/06, RudiWoe <[EMAIL PROTECTED]> wrote:
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.