I have some FacesMessage
inside my bean. I noticed that all of them which are invoked by actionListener
are not getting displayed.
My form
contains multiple fields having FacesMessage
associated. At the end, it is having a submit button, which is having an actionListener
like below-
<p:commandButton style="margin-top: 20px;" value="#{msg.submit}" update=":message" actionListener="#{agent.run()}" action="#{agent.showResults()}"/>
The p:growl
is declared inside a common_template.xhtml
page like this-
<p:growl id="message" showDetail="true" life="3000" />
I am getting all the FacesMessage
except which are invoked by above p:commandButton
.
I am using PrimeFaces 3.5 with GlassFish 3.1.2 in my Ubuntu 10.04 LTS machine.
Objective
Using actionListener
, I am doing some I/O operations (time consuming operations). Based on these operations, I just want to notify to user about success/failure.
Any alternative or fix/hack?