2 Replies Latest reply on Apr 15, 2010 4:58 PM by Sonya Ling

    Why only this rerender is not working

    Sonya Ling Newbie

      I attached listing.jsp for your reference.

      I have the following 3 a4j components.  All rerenders are working properly except for moreVideosLink in the first component (I switched the order and got the same result).   jobListPanel rerender in the first component is working.  Both component 2 and 3 can rerender all components in their rerender list, including moreVideoLink.  I checked the server side #{listingBean.moreVideos} (true if totalJobCount > maxJobCount) value is correct.  The a4j:support just does not rerender moreVideoLink for some reason.


      <h:selectOneListbox id="domainFilterDropDown" value="#{listingBean.selectedDomain}"  size="1"
                          <f:selectItems id="domainFilterItems" value="#{sharedBean.loginProjectDomainsPlusWildcard}" />
                          <a4j:support event="onchange" reRender="jobListPanel, moreVideosLink" limitToList="true" ajaxSingle="true"  />



      <a4j:commandLink id="moreVideosLink" action="#{listingBean.fetchNextSetVideos}" value="More videos..." reRender="jobListPanel, moreVideosLink"  rendered="#{listingBean.moreVideos}" limitToList="true" ajaxSingle="true" />



      <a4j:commandLink styleClass="button-green" action="#{listingBean.saveNewJob}" value="Save Video" type="submit"
                                           reRender="newVideoPanel, newJobLink, jobListPanel, moreVideosLink" limitToList="true"  />



      I use Richfaces 3.3.2.SR1.  Need some help for this issue.  Thanks.