2 Replies Latest reply on May 7, 2008 10:52 AM by robbrownsell

    rich faces ajax form - newbie question

    robbrownsell

      Hello,

      I'm trying to get just a simple test to work in Richfaces. I'm fairly new to Richfaces but so far I have managed to get a simple rich:suggestionbox to work with little difficulty (so far so good). However, when I submit an a4j:form the whole page is refreshing, not just the component I want re rendered. The form is very simple and is based on the example on the live demo:

      <rich:panel >
      <a4j:form ajaxSubmit="true" reRender="name" >
      <h:panelGrid>

      <h:commandButton id = "command" value="Set" action="#{queryBean.toggleName}" />
      <h:outputText id="name" value="Name:#{queryBean.objectName}" />

      </h:panelGrid>
      </a4j:form>
      </rich:panel>

      I'm running this on Tomcat 5.5 and have tried both jsf 1.1 and 1.2 with this. Does anyone know why this might be happening?