bonjour,
j'utilise le code suivant dans deux page test et test2, l'action 'societe' passe de test à test 2. Dans le cas normale tous va bien mais la page entiere est rafraichit (menu compris). Si je met mode="ajax" alors les liens sont inactifs.

quelqu'un aurait il une solution?

Code xml : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
 
<!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:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich">
 
<body>
  <f:view>
        <a4j:form>
        	<h:inputText value=""></h:inputText>
          <h:panelGrid columns="2" columnClasses="cols" width="1160">
               <rich:panelMenu  width="246" iconExpandedGroup="disc" iconCollapsedGroup="disc" 
                     iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right" 
                     iconCollapsedTopGroup="chevronDown">
           <rich:panelMenuGroup label="Client" >
 
               <rich:panelMenuItem mode="ajax" label="Ajouter" reRender="test" action="societe"> 
                   <f:param value="test value" name="test"/> 
               </rich:panelMenuItem>
               <rich:panelMenuItem label="supprimer" reRender="test" action="societe"> 
                   <f:param value="test value" name="test"/> 
               </rich:panelMenuItem>
               <rich:panelMenuItem label="" reRender="test"> 
                   <f:param value="test value" name="test"/> 
               </rich:panelMenuItem>                         
          </rich:panelMenuGroup>
      </rich:panelMenu>
        <rich:panel style=" height:700px; width :950px;">    
        <a4j:outputPanel ajaxRendered="true" id="test">
            test
        </a4j:outputPanel>
    </rich:panel>  
 
    </h:panelGrid>
 
   </a4j:form>
 
 
</f:view>
</body>
</html>