Jsf 2 从JSF1.2/richfaces 3.3迁移到jsf2.1/richfaces 4后显示错误消息
从jsf1.2/richfaces 3.3迁移到jsf2.1/richfaces 4后,我在显示错误消息时遇到问题 以下是从日志文件中提取的消息:Jsf 2 从JSF1.2/richfaces 3.3迁移到jsf2.1/richfaces 4后显示错误消息,jsf-2,richfaces,Jsf 2,Richfaces,从jsf1.2/richfaces 3.3迁移到jsf2.1/richfaces 4后,我在显示错误消息时遇到问题 以下是从日志文件中提取的消息:警告:FacesMessage已排队,但可能尚未显示。sourceId=null[严重性=(信息0),摘要=(比特格本-齐伊-居尔蒂奇-卡顿ID),细节=(比特格本-齐伊-居尔蒂奇-卡顿ID。)。 当我在xhtml页面上包含全局时,会显示所有错误消息,但仍然没有单独的错误消息 另外,我正在使用Seam2.3.1.Final并在JBoss7上运行 有什么
警告:FacesMessage已排队,但可能尚未显示。sourceId=null[严重性=(信息0),摘要=(比特格本-齐伊-居尔蒂奇-卡顿ID),细节=(比特格本-齐伊-居尔蒂奇-卡顿ID。)。
当我在xhtml页面上包含全局
时,会显示所有错误消息,但仍然没有单独的错误消息
另外,我正在使用Seam2.3.1.Final
并在JBoss7
上运行
有什么想法吗?请仔细阅读,并采取相应的行动。没有人会帮你写这样的帖子。(这个JavaEE或seam是如何相关的?@Kukeltje观点。我编辑了这个问题。关于JavaEE和seam相关,我添加了它们,因为我怀疑这可能与纯jsf/richfaces无关,但也与seam/JavaEE有关。
create_customer.xhtml
<ui:define name="MainContent">
<h:form id="containerForm">
<a4j:region>
<div class="Left">
<table border="0" cellspacing="0" cellpadding="0" class="CustomerData">
<tr>
<td class="Caption">
#{messages['view.label.cardId']}
<div class="Needed">*</div>
</td>
<td class="Input">
<h:message for="cardId" styleClass="WarningMessage" />
<h:inputText id="cardId" styleClass="Standard" value="#{myObjectAction.customer.cardId}" />
</td>
</tr>
<tr>
<td><br />
<h:panelGroup id="saveButtons">
<div class="Left">
<h:commandLink id="saveCommand1" styleClass="bt_kurz" value="#{messages['view.button.save']}" action="#{myObjectAction.createCustomer}" />
</div>
</h:panelGroup>
</td>
</tr>
</table>
</div>
</a4j:region>
</h:form>
</ui:define>
<h:body>
<f:view contentType="text/html">
<div class="Menu">
<ui:insert name="MainMenu"/>
</div>
<div class="Page">
<ui:insert name="MainContent"/>
</div>
</f:view>
</h:body>
org.jboss.seam.faces.FacesMessages.addToControlFromResourceBundle(invalidValue.getPropertyName(), messages.get(messageKey));