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
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 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值