You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by RudiWoe <ru...@web.de> on 2006/05/05 11:15:26 UTC

Re: panelNavigation2 dynamic: _id1 is duplicated in the faces tree

Thanks a lot.

I tried it with 1.1.4 and succeeded at last. Had some problems and then
other tasks, therefore the late answer.

-Rudi


Andrew Robinson-5 wrote:
> 
> 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 <ru...@web.de> 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.
>>
>>
> 
> 
--
View this message in context: http://www.nabble.com/panelNavigation2-dynamic%3A-_id1-is-duplicated-in-the-faces-tree-t1533883.html#a4243999
Sent from the MyFaces - Users forum at Nabble.com.