Thoughts about coding and books

Ajax menu navigation in JSF with OpenFaces

Problem: Webpage must change body contents fast without reloading whole page when user clicks link in menu. Solution: It can be achieved using OpenFaces o:layeredPane component. In menu can be used commandLinks surrounded with form. Commandlinks include f:param which sends to server what contents must be displayed. When clicking link then browser sends ajax requestRead more about Ajax menu navigation in JSF with OpenFaces[…]

f:ajax not working in JSF

Problem is that in JavaServer Faces application ajax request are just not working. o:ajax in openfaces nor f:ajax in plain JSF 2.0 is not sending any requests to server. For testing can be used simple echo application. <h:form> <h:inputText value=”#{ajaxTestBean.testValue}” > <f:ajax event=”keyup” render=”text”/> </h:inputText> <h:outputText id=”text” value=”#{ajaxTestBean.testValue}” /> </h:form> Normally this should work withoutRead more about f:ajax not working in JSF[…]