-
1. Re: Why only this rerender is not working
harut Apr 15, 2010 2:17 AM (in response to chieh1947)1 of 1 people found this helpfulIn case you want to render (or not) any component you should reRender another top level component which contains mentioned component: In your case it can be:
.....................
<a4j:support event="onchange" reRender="jobListPanel, anyId"...........
....................
<h:panelGroup id="anyId">
<a4j:commandLink id="moreVideosLink" action="#{listingBean.fetchNextSetVideos}" value="More videos..." reRender="jobListPanel, moreVideosLink" rendered="#{listingBean.moreVideos}" limitToList="true" ajaxSingle="true" />
</:h:panelGroup>
Also have a look at following http://community.jboss.org/message/532894#532894
-
2. Re: Why only this rerender is not working
chieh1947 Apr 15, 2010 4:58 PM (in response to harut)It make sense. It's working now, Thanks.
IIya did mention this issue in his article "Common Ajax Requests Problems"
http://community.jboss.org/wiki/CommonAjaxRequestsProblems#conditionalRendering