myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Cooper" <matt.fa...@gmail.com>
Subject Re: Ajax4JSF Re-render Entire Form
Date Tue, 16 Oct 2007 23:39:48 GMT
I am confused, how does your email pertain to Apache MyFaces?  I would
recommend that you post your question to the A4J board instead.

Regards,
Matt

On 10/16/07, bansi <mail2bansi@yahoo.com> wrote:
>
>
> 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.
>
>

Mime
View raw message