-
1. Re: FacesMessage(s) have been enqueued... but i have a <h:messages/>
stefan_tausendpfund May 14, 2010 8:08 AM (in response to jschaefer)Hello Joerg,
This log entry tells you that there is a message added to the context but not rendered in the view. This happens for example if you only rerender one part of the page. You can use <rich:messages /> instead.
Please have a look on this thread
http://seamframework.org/Community/FacesMessagesHaveBeenEnqueuedButMayNotHaveBeenDisplayed
and
http://livedemo.exadel.com/richfaces-demo/richfaces/messages.jsf
regards
Stefan
-
2. Re: FacesMessage(s) have been enqueued... but i have a <h:messages/>
jschaefer May 14, 2010 4:35 PM (in response to stefan_tausendpfund)Hi Stefan,
thanks for your answer.
What i want to do is to use the portletbridge only with a base jsf-implementation. No richfaces or other component-library.
So if i use the bridge with the sun reference implementation i get the info/warnings as described.
But i hava a <h:messages/>-tag in my .xhtml-page. I think this is a bug.
If i use the sun jsfportletbridge everything works fine.
regards Jörg
-
3. Re: FacesMessage(s) have been enqueued... but i have a <h:messages/>
stefan_tausendpfund May 18, 2010 4:14 PM (in response to jschaefer)Hello Joerg,
you are right, the info log always appears. The reason for this is in the jsf-1.2 implementation. Before rendering starts in the RenderResponsePhase all messages are saved. In FacesContextImpl the messages are remove in the getMessage methods. So after rendering is finished it is checked if there are still messages saved and printed out. As the portletbridge uses an own implementation of the FacesContextImpl the saved messages are not deleted and all saved messages are logged. As this feature is dedicacted to the 1.2 release and the portletbridge must support different jsf implementation I dont think its a bug of the bridge. If you want to avoid the messages the best way is to switch the log level to warn for the RenderResponsePhase class.
regards
Stefan
-
4. Re: FacesMessage(s) have been enqueued... but i have a <h:messages/>
jschaefer May 30, 2010 1:33 PM (in response to stefan_tausendpfund)Hi Stefan,
thanks for your reply.
i will change the log level.
Thanks Jörg
-
5. Re: FacesMessage(s) have been enqueued... but i have a <h:messages/>
benothman Dec 21, 2010 9:07 AM (in response to jschaefer)Hi,
can you tell me how to do that please. thanks in advance.