Thursday 21 February 2013

ADF: Show inline messege

## Show inline messege

public void showMessageButton(ActionEvent actionEvent) {

FacesMessage msg=new FacesMessage("This is a FacesMessage that+
"shows Fatal Error.");
msg.setSeverity(FacesMessage.SEVERITY_FATAL);
FacesContext fctx=FacesContext.getCurrentInstance();
fctx.addMessage(null, msg);

}









No comments:

Post a Comment