Code: Select all
<h:form>
<p:commandButton value="Test" actionListener="#{CentralFeed.test}" update="msgs"/>
</h:form>
public void test(ActionEvent actionEvent){
FacesContext.getCurrentInstance().addMessage(null,
new FacesMessage("",
"Seeing this????"));
}
Code: Select all
Gritter Error: Error: INVALID_STATE_ERR: DOM Exception 11
Object
image: "/ScholarActive-war/javax.faces.resource/growl/assets/info.png.jsf?ln=primefaces&v=2.2.RC2"
sticky: false
text: "Seeing this????"
title: ""
__proto__: Object
javax.faces.resource/growl/growl.js.jsf?ln=primefaces&v=2.2.RC2:40