The a4j:log component allows you to inspect client-side activities during an Ajax request. It shows request data, response data, the DOM tree changes on an update, and other useful debug information.
<!DOCTYPE html> <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> <h:form id="form"> <h:inputText value="#{userBean.name}" /> <a4j:commandButton value="Submit" render="out" /> <br /> <a4j:outputPanel id="out"> <h:outputText value="Hello #{userBean.name}!" rendered="#{not empty userBean.name}" style="word-break: break-all"/> </a4j:outputPanel> </h:form> <a4j:log /> </ui:composition>