Reply To: How to preserve FacesMessages across redirects with PrettyFaces using MultiPageM

Splash Forums PrettyFaces Users How to preserve FacesMessages across redirects with PrettyFaces using MultiPageM Reply To: How to preserve FacesMessages across redirects with PrettyFaces using MultiPageM

#25286

ZheFrench
Participant

Yeahhh but still have a problem when i try to specify an id …

FacesContext.getCurrentInstance().addMessage(“:messages_info”, new FacesMessage(FacesMessage.SEVERITY_INFO,” – Ajout du participant “+id_study+” dans l’étude “+ study_name +” -“,null));

<rich:panel id=”messages_info” style=”width:50%;margin-left:auto;margin-right:auto;text-align:center;” rendered=”#{facesContext.maximumSeverity.ordinal eq 0 }”>

<h:messages style = “color:green;”></h:messages>
->#{facesContext.maximumSeverity.ordinal }
</rich:panel>