1 Reply Latest reply on Oct 18, 2007 6:56 AM by Ilya Shaikovsky

    AJAX4JSF reRender attribute reRenders whole Form

    Bansilal Haudakari Newbie

      I have a situation where reRender attribute reRenders the whole form. Here is the snippet
      <h:inputText id="description" size="75" value="#{manageAddrBlkBean.addressBlock.description}" >
      <a4j:support event="onfocus" reRender="usrGrpList"/>

      The moment inputText component gets the Focus the JSF form hangs for a while then i observed from the Log file its reRendering the whole form

      The reRender happens on closing of pop-up window as shown in the following snippet
      <h:panelGrid columns="4" styleClass="detail" columnClasses="label">
      <h:outputText value="Users/User Group" />

      <h:selectOneMenu id="usrGrpList" value="#{manageAddrBlkBean.selectedUserGroup}" >
      <f:selectItem itemLabel="" itemValue="" />
      <f:selectItems value="#{manageAddrBlkBean.userGroupList}" />

      <h:commandButton id="findUserAndGroup" value="Manage User/UserGroup" immediate="true"
      onclick="return false">
      <h:message for="usrGrpList" />


      Any pointers/suggestions to avoid reRendering of whole form using a4j reRender attribute will be highly appreciated