5 Replies Latest reply on Apr 6, 2007 3:14 AM by liumin hu

    question for rich:tab

    liumin hu Master

      hello,

      I want to rerender a panelgrid which is out of the rich:tabPanel when click on one tab, is it possible?

      i tried with reRender attribute of rich:tab, but it does not work. value in the tab has changed, but not in the panelgrid

      any idea?

      thanks in advance

       <h:form id="formPresc" style="margin:0px">
      
       <rich:tabPanel switchType="ajax">
       <rich:tab label="synthese" reRender="includePage">
       <a4j:actionparam name="gs" value="aaa" assignTo="#{bean.p1}"
       <h:outputText value="#{bean.p1}" />
       </rich:tab>
       <rich:tab label="ordonnance" reRender="includePage">
       <a4j:actionparam name="gs" value="bbb" assignTo="#{bean.p1}"
       <h:outputText value="#{bean.p1}" />
       </rich:tab>
       </rich:tabPanel>
       </h:form>
       <h:panelGrid id="includePage" >
       <h:outputText value="#{bean.p1}" />
       </h:panelGrid>