a4j:ajax is one of our core behaviors, extending the base JSF 2.0 f:ajax tag. This tag triggers an Ajax request when the specified parent event is triggered.
<!DOCTYPE html> <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j"> <h:form id="form"> <h:inputText value="#{userBean.name}"> <a4j:ajax event="keyup" render="out" /> </h:inputText> <h:outputText value="#{userBean.name}" id="out" style="word-break: break-all"/> </h:form> </ui:composition>