4 Replies Latest reply on Apr 23, 2007 7:12 AM by hvaneylen

    Problem using Tabpanel

    hvaneylen

      Hi,

      I'm trying to evaluate RichFaces and Ajax4JSF. I just try a simple example mixing RichFaces with ajax4jsf. I put the Repeater example inside a tabpane :

      <rich:tabPanel>
      <rich:tab label="Repeater">
      <h:form>
      <h:panelGrid columns="2">

      <h:outputText value="Type the Text:" />
      <h:inputText size="50" value="#{bean.text}">
      <a4j:support event="onkeyup" reRender="repeater" />
      </h:inputText>

      <h:outputText value="Text in the AJAX Response:" />
      <h:outputText id="repeater" value="#{bean.text}" />

      </h:panelGrid>
      </h:form>

      </rich:tab>

      <rich:tab label="Test">

      </rich:tab>

      </rich:tabPanel>

      This simply does't work. The repeated text is not update in the outputText.

      As it seems to me a pretty simple example i'm a little bit puzzled.
      Anyone has an idea about what mistake i have done ?

      My environment has been settled following the steps given in the RichFaces documentation. I'm using Tomcat 5.5 as the container.

      Thanks for any answer