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

    Why only this rerender is not working

      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.

      1.

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

       

      2

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

       

      3

      <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.