2 Replies Latest reply on Nov 18, 2008 4:33 AM by lmk

    problem using ajax/server tabPanel switchType

    lmk

      Hi all,

      reRender components inside tabPanel dont work when I use server/ajax switchType;
      the ajax request is sent on the onselect event for comboBox..

      some code will be more meaningful:

      <rich:tabPanel switchType="ajax" style="width:99%;" >
      
      <rich:tab label="Company" name="company">
      <ui:include src="company.xhtml" />
      </rich:tab>
      </rich:tabPanel>
      


      Inside company.xhtml:

      <rich:comboBox selectFirstOnUpdate="false"
      defaultLabel="Enter some value"
      value="#{form.updatedName}" id="combo_company" width="250"
      immediate="true">
      <t:selectItems value="#{bean.companies}" var="list"
      itemLabel="#{list.name}" itemValue="#{list.name}" />
      <a4j:support event="onselect" reRender="company_panel"
      action="#{form.onSelectUpdate}" ajaxSingle="false">
      </a4j:support>
      </rich:comboBox>
      


      same code works with client switchType.

      Environment: RF 3.2.2.GA,myfaces 1.2.4.