3 Replies Latest reply on Jun 23, 2009 9:30 AM by ksevindik

    why reRender doesnt work for components inside tabPanel with

       

      <f:view>
       <h:form id="form">
       <rich:tabPanel id="tabpanel" switchType="server">
       <rich:tab label="Tab1" id="tab1">
       <h:outputText value="welcome" id="welcomeMsg"/>
       </rich:tab>
       <rich:tab label="Tab2" id="tab2">
       <rich:panel header="Simple Echo">
       <h:inputText size="50" value="#{foo.name}" id="inmsg">
       <a4j:support event="onkeyup" reRender="rep" ajaxSingle="false"/>
       </h:inputText>
       <h:outputText value="#{foo.name}" id="rep" />
       </rich:panel>
       <a4j:log popup="false" level="ALL" width="800" height="300"/>
       </rich:tab>
       </rich:tabPanel>
       </h:form>
      </f:view>

      When I put simple echo example inside a richfaces tab it doesnt work when switchType of tabPanel is server or ajax. It works when tab with related components is selectedTab at first, or when ajaxSingle attribute is true for a4j:support element.

      There is no problem when switchType is client no matter it is the first/selected tab or ajaxSingle is true/false.

      Is there something I miss about richfaces tabPanel or is something going wrong here?