[ http://issues.apache.org/jira/browse/TOMAHAWK-382?page=comments#action_12442925 ] Guy Bashan commented on TOMAHAWK-382: -------------------------------------
The code I sent was the only code I tried and seemed to cause this error. Maybe it was something else ... but I left it already long time ago. Thanks. > panelNavigation2 is not working inside a form > --------------------------------------------- > > Key: TOMAHAWK-382 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-382 > Project: MyFaces Tomahawk > Issue Type: Bug > Components: Panel Navigation2 > Affects Versions: 1.1.1 > Environment: WindowsXP, JDeveloper > Reporter: Guy Bashan > > The example code of paneNavigation2 from myfaces example is not working > inside form tag: > ------------------------------------------------------------------------------------------------------------------------------ > <h:form> > <t:div id="subnavigation_outer"> > <t:div id="subnavigation"> > <t:panelNavigation2 id="nav1" layout="list" itemClass="mypage" > activeItemClass="selected" openItemClass="selected" > > <t:navigationMenuItems value="#{navigationMenu.panelNavigationItems}" > /> > </t:panelNavigation2> > </t:div> > </t:div> > </h:form> > The exception I get is: > ----------------------------- > javax.servlet.ServletException: Client-id : _id2 is duplicated in the faces > tree. > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) > at > com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:61) > I need the navigation panel to be inside a form, since I need to pass some > parameters (in hidden fields) across several pages. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira