Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-382

panelNavigation2 is not working inside a form

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.1
    • None
    • Panel Navigation2
    • None
    • WindowsXP, JDeveloper

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bashan Guy Bashan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: