You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Nereida Hoxhaj (JIRA)" <de...@myfaces.apache.org> on 2006/10/17 10:39:36 UTC

[jira] Commented: (TOMAHAWK-382) panelNavigation2 is not working inside a form

    [ http://issues.apache.org/jira/browse/TOMAHAWK-382?page=comments#action_12442834 ] 
            
Nereida Hoxhaj commented on TOMAHAWK-382:
-----------------------------------------

I use it inside a form and it works fine.  Maybe there's some other problem.



> 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