Hi. I've got an AJAX button on an XHTML Facelet page:
<a4j:commandButton action="#{asset.sendEmail()}" value="Send Eamil" />@In private Renderer renderer;
public void sendEmail() {
renderer.render("/mail.xhtml");
}Hi,
You can add it just from your action method, inject http://docs.huihoo.com/javadoc/jboss/seam/org/jboss/seam/core/FacesMessages.html and add messages there. Use rich:message(s) to display them on the page.