How-to suppress error popup for inline messages __jspx页面弹出消息提示框

Error messages in ADF Faces are displayed in a DHTML popup dialog. 

 
To change this behavior so messages are displayed within the page, you add the af:messages tag to your
ADF Faces page and set its inline attribute to true.
After dragging the af:messages tag as a child to the af:document element, make sure you move it to
become the first child. Otherwise the message doesn't show on top of the page but somewhere below.
Set the Inline property to true to change the display behavior.
With the af:messages tag, the message display as part of the page, as shown in the image above. 
To write messages in JavaServer Faces, you use code similar the lines shown below
FacesContext fctx = FacesContext.getCurrentInstance(); fctx.addMessage(null, new FacesMessage( FacesMessage.SEVERITY_INFO, "Good Job", "Thank you for providing"+ "feedback to www.oracle.com" ));
If the message you display is in response to an error caught during one of the early JSF request phases,
you should consider adding …
fctx.renderResponse();
… after setting the message to return to the page without updating the model.
For more information see the tag documentation for the af:messages tag
http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e12419/tagdoc/af_messages.html 

你可能感兴趣的:(How-to suppress error popup for inline messages __jspx页面弹出消息提示框)