i create several spring web flow messages in validation method using code looks like
msgctx.addmessage( new messagebuilder().error() .source("sampleid") .defaulttext("sampletext").build() );
the message ist displayed in facelt using primefaces element following sample shows.
<p:message for="sampleid"/>
everything works fine.
after error messages displayed face following messages in server's log file:
warnung: there unhandled facesmessages, means not every facesmessage had chance rendered. these unhandled facesmessages are: - sampletext
after investigation found out spring web flow messages converted jsf facesmessages before text rendered . on each converted , displayed jsf facesmessage method setrendered(true) called "rendered" information not delegated corresponding spring web flow message. after complete response has been rendered spring web flow messages still available rendering , leeds log output.
question: how can prevent log output in server's log?
Comments
Post a Comment