FacesMessage(s) have been enqueued, but may not have been displayed.
Jaime Martin Feb 26, 2008 12:08 PMhi,
Using JBoss 4.2.2, Seam 201GA, JDK 6 and RichFaces 3.1.3
when pressing save button and validating or filling a form in the logs I notice quite frequent an info line which the following:
FacesMessage(s) have been enqueued, but may not have been displayed
Full example:
11:05:02,546 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed. sourceId=rstReport:timeHorizonDecoration:timeHorizon[severity=(ERROR 2), summary=(value is required), detail=(value is required)]
The worst thing is that after that I usually have a
org.jboss.seam.NoConversation which according to my pages.xml means to be redirected to my login.page.
When that happens with compulsory fields when entering data.
This is the code of the example field:(but it happens with the rest of them too)
<s:decorate id="timeHorizonDecoration" template="layout/edit.xhtml"> <ui:define name="label">#{messages['RstReport.timeHorizon']}</ui:define> <h:inputText id="timeHorizon" required="true" value="#{rstReportHome.instance.timeHorizon}"> <a:support event="onblur" reRender="timeHorizonDecoration"/> </h:inputText> </s:decorate>
And my faces-config.xml is like this. Maybe should I add extra config?
<?xml version='1.0' encoding='UTF-8'?> <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"> <application> <locale-config> <default-locale>en</default-locale> <supported-locale>bg</supported-locale> <supported-locale>de</supported-locale> <supported-locale>en</supported-locale> <supported-locale>fr</supported-locale> <supported-locale>tr</supported-locale> <supported-locale>es</supported-locale> </locale-config> <view-handler>com.sun.facelets.FaceletViewHandler</view-handler> </application> </faces-config>
thanks in advance!