[ 
http://issues.apache.org/jira/browse/TOMAHAWK-508?page=comments#action_12420319 
] 

Achim Breunig commented on TOMAHAWK-508:
----------------------------------------

I could reproduce this problem with the 1.1.5-SNAPSHOT when using the 
STATE_SAVING_METHOD 'client'.
When I switched to STATE_SAVING_METHOD 'server' it works fine.

<context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
</context-param>


> panelNavigation2 Repeating Entries
> ----------------------------------
>
>          Key: TOMAHAWK-508
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-508
>      Project: MyFaces Tomahawk
>         Type: Bug

>   Components: Panel Navigation2
>     Versions: 1.1.4-SNAPSHOT
>  Environment: Tomcat 5.5 MyFaces 1.1.3, Facelets 1.1.10
>     Reporter: James McCarthy

>
> The navigation items are repeated if the panelNavigation2 tag is enclosed 
> within a form and an action within another form refreshes to the same view. I 
> have noticed this with JSP based tiles and with Facelet templates. The 
> following is a simple Facelets page that will reproduce the problem. Note the 
> two separate h:form tags. This is common when inside a template element but 
> shown here to reproduce the problem in its simplest use.
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";
>       xmlns:h="http://java.sun.com/jsf/html";
>       xmlns:f="http://java.sun.com/jsf/core";
>       xmlns:ui="http://java.sun.com/jsf/facelets";
>       xmlns:t="http://myfaces.apache.org/tomahawk";>
>       <head>
>               <title>Test Page</title>
>       </head>
> <body>
> <div id="wrap">
>   <div class="topnav" id="nav">
>       <h:form id="navigationForm">    
>               <t:panelNavigation2><t:navigationMenuItem itemLabel="This Will 
> Repeat" /></t:panelNavigation2>
>       </h:form>
>       <h:form id="rootForm">  
>               <h:commandLink>Repeat</h:commandLink>
>       </h:form>
>   </div>
> </div>
> </body>
> </html>

-- 
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

Reply via email to