jsf - CommandLink is not called anymore after click on commandButton -
there list 100 "favs" on it. shows 10 when page loads. when click on "show more favs" shows 10 more favs. what's weird it, it's after click on show more favs, clicking on remove list, it's not calling method in backbean. my backbean viewscoped. <ui:repeat value="#{bean.list}" var="fav"> <h:form> <h:commandlink styleclass="somestyle" title="remove list" action="#{bean.remove(fav.id)}"/> </h:form> </ui:repeat> <h:form> <h:commandbutton value="show more favs" action="#{bean.showmore}" > <f:param name="morefav" value="10" /> <f:ajax event="action" render="@all" /> </h:commandbutton> </h:form> the culprit usage of multiple forms , render="@all" . if re-render another form inside ajax form, viewstate of another form lost. you need change code co...