JSFUtils.addFacesErrorMessage () does not appear cross icon in 12 c

Hi Experts,

JDeveloper 12.1.3.0.0

JSFUtils.addFacesErrorMessage () does not appear cross icon. His only coming as a single window.

Thank you

AR

JSFUtils are not supported by the ADF. This is a utility class that may not work. You need to check the source code

User

FacesMessage fm = new FacesMessage (message.toString ());

fm.setSeverity (FacesMessage.SEVERITY_ERROR);

FacesContext fctx = FacesContext.getCurrentInstance ();

fctx.addMessage (null, fm);

Instead of the null value, you can pass the component that you want to assign the error.

Timo

Tags: Java

Similar Questions

Maybe you are looking for