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

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
<a4j:region>
        <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:selectOneMenu>   
                   
            <h:commandButton id="findUserAndGroup" value="Manage User/UserGroup"
immediate="true"
                                                        
onmousedown="createPopUp('userAndGroupLookup','find')"
                                                    onclick="return false">     
                                                 
                </h:commandButton>
            <h:message for="usrGrpList" />
                   
    </h:panelGrid>       
     </a4j:region>  

Any pointers/suggestions  to avoid reRendering of whole form using a4j
reRender attribute will be highly appreciated
-- 
View this message in context: 
http://www.nabble.com/Ajax4JSF-Re-render-Entire-Form-tf4636814.html#a13242526
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to