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 Facelet templates. The following is the Facelets
page that will reproduce this problem. And I am using the
STATE_SAVING_METHODE 'server', but it do not work correctly, with tiles it
had worked correctly, but with faclets do not (it is just a simple MenĂ¼,
which is contained in a default Template, which is separated in header,
footer, content, ...)

t:document xmlns="http://www.w3.org/1999/xhtml";
                        xmlns:ui="http://java.sun.com/jsf/facelets";
                        xmlns:f="http://java.sun.com/jsf/core";
                  xmlns:h="http://java.sun.com/jsf/html";
                        xmlns:t="http://myfaces.apache.org/tomahawk";>
                        
<ui:composition>

<h:form>

<t:div id="subnavigation_outer" forceId="true">
<t:div id="subnavigation" forceId="true">

<t:panelNavigation2 id="nav1" layout="list" itemClass="mypage"
activeItemClass="selected" openItemClass="selectedopen">
 
 <!-- problem link -->
<t:commandNavigation2 value="List 1">

        <t:commandNavigation2 action="mmChooseList"
actionListener="#{cleanUpMB.alChange}" value="Repeater List">
        <!-- <t:outputText
value="#{msg.layout_menu_mm_findMeasures}"></t:outputText>       -->
        </t:commandNavigation2> 
</t:commandNavigation2> 

</t:panelNavigation2>
        
</t:div>
        
</t:div>
        
</h:form>

</ui:composition>

</t:document>
-- 
View this message in context: 
http://www.nabble.com/Repeating-Entries-with-panelNavigation2-tf1943607.html#a5327900
Sent from the My Faces - Dev forum at Nabble.com.

Reply via email to