This content has been marked as final.
Show 2 replies
-
1. Re: Add facesMessage from @Factory method.
cash1981 Jul 20, 2009 12:02 AM (in response to karypid)Hmm thats strange.
What about
StatusMessage.instance().add("someMessage")
-
2. Re: Add facesMessage from @Factory method.
wilczarz.wilczarz.gmail.com Jul 20, 2009 3:47 PM (in response to karypid)Alex, try initializing the factory component before you render <h:messages>. You can do that by placing <div style="display:none">#{component}</div> on the top of the page or in a page action in pages.xml.