How to ajax jsf 2 outputLink
问题 I want to make a webpage that is working on ajax(everything ajax). I mean.. whenever you click a link(I refer to < h:outputLink ...> ) to change a certain div using data from another link. For example: <h:outputLink value="/page.jsf" onclick="myfunction(this); return false;"> My page </h:outputLink> page.jsf is a normal jsf page... displayed using a page layout.xhtml like: <ui:composition template="/layout.xhtml"> <ui:define name="main"> //my content here </ui:define> </ui:composition> Is