0 Replies Latest reply on Dec 7, 2010 4:13 PM by jadtn

    Lost style class when rerender rich:tabPanel (RICHFACES 3.3.3Final)

    jadtn

      Hi

      I have a problem to rerender a rich:tabpanel from an a4j: commandlink

      When the page is loaded for the first time the look is good and tabpanel as css (BeforeRerender.png), when i rerender it the css is lost (AfterRerenderer.png). Each image contains css displayed by firebug.

       

      There is anybody which has an idea of what i do wrong?

      Thanks for any suggestion

      Versions

      RICHFACES 3.3.3Final

      jdk1.6.0_22_X64 and jdk-7-ea-bin-b118-windows-x64

      Os : seven

       

       

       

      <?xml version="1.0" encoding="UTF-8"?>
      <!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:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          >
         
      <head>
      <title>Pb rich:tabPanel</title>
      <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8"/>

       

      </head>
      <body   >
      <f:view >
      <h:form id="msgs" >
              
                          <a4j:commandLink    id="linku"    reRender="tabdet" limitToList="true"   >
                                                   <h:outputText value="click me"/>                                   
                                      
                                     
                          </a4j:commandLink>
                  
          </h:form>
         <rich:tabPanel id="tabdet" switchType="ajax"  >
                          <rich:tab label="Messages b" >
                             
                           </rich:tab>
                           <rich:tab label="Annonce">
                               <h:panelGroup>
                             
                               </h:panelGroup>
                           </rich:tab>
                    </rich:tabPanel>

      </f:view>           
                 
      </body>
      </html>