2 Replies Latest reply on May 8, 2008 6:24 PM by john hedden

    tabPanel and ajax pagination

    john hedden Newbie

      Ive got a tabPanel with 2 tabs:

      <rich:tabPanel id="tabs" switchType="ajax" selectedTab="#{navController.selectedTab}">
       <rich:tab id="orderTab" name="orderTab" label="#{order.isNewOrder() ? 'Create Order' : 'Order Details'}">
       <a:include viewId="/order/order.xhtml" />
       <rich:tab id="envTab" name="envTab" label="Env.">
       <a:include viewId="/env/environments.xhtml" />

      In the "envTab" Ive got some ajax pagination going on via <a:commandButton>. Once I start going through the pagination I would like to be able to click on the "envTab" , which I am already on, and reRender the original <a:include> which would be /env/environments.xhtml.

      I tried adding <a:support> to the tab itself but that only seems to work when I leave the tab and then come back, not when I am already on it.

      Anyone have any ideas?