for (MessageForRender message : getVisibleMessages(facesContext, component)) {
JSFunction notifyCall = new JSFunction("RichFaces.ui.Notify");
Map<String, Object> optionsCopy = new LinkedHashMap<String, Object>(options);
addMessageSpecificAttributes(message, facesContext, component, optionsCopy);
notifyCall.addParameter(optionsCopy);
javaScriptService.addPageReadyScript(facesContext, notifyCall);
message.rendered();
}
}
private void addMessageSpecificAttributes(MessageForRender message, FacesContext facesContext, UIComponent component,