panelNavigation2 is not working inside a form
---------------------------------------------
Key: MYFACES-1181
URL: http://issues.apache.org/jira/browse/MYFACES-1181
Project: MyFaces Core
Type: Bug
Components: General
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