警告:FacesMessage已入队,但可能未显示 [英] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed
本文介绍了警告:FacesMessage已入队,但可能未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的应用程序中,面部消息未在UI上呈现,不确定是什么导致了此问题.在服务器日志中,我看到以下内容:
In my application, faces messages are not rendered on UI, not sure what is exactly causing this issue. In the server log I see this:
警告:FacesMessage已入队,但可能未显示.
WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
发生这种情况的原因是什么?
What is the reason for such kind of situations?
推荐答案
请确保已在页面中放置了<h:message for="...">
或<h:messages>
标记,另请参见
Make sure that you have placed <h:message for="...">
or <h:messages>
tag in your page, see also JSF 2 message and messages example
这篇关于警告:FacesMessage已入队,但可能未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文