[richfaces-issues] [JBoss JIRA] (RF-12534) FacesMessages not shown when enqueued in rich:fileUpload fileUploadListener

Holger Reichert (JIRA) jira-events at lists.jboss.org
Sat Oct 13 21:54:01 EDT 2012


Holger Reichert created RF-12534:
------------------------------------

             Summary: FacesMessages not shown when enqueued in rich:fileUpload fileUploadListener
                 Key: RF-12534
                 URL: https://issues.jboss.org/browse/RF-12534
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-input
    Affects Versions: 4.2.2.Final
         Environment: JBOSS AS 7.1.1, Richfaces 4.2.2 Final
            Reporter: Holger Reichert


I have a rich:fileUpload like this:
{code}
<rich:fileUpload fileUploadListener="#{demoBean.listener}"/>
{code}
and a fileUploadListener
{code}
public void listener(FileUploadEvent event) {
  // ... something ...
  FacesContext.getCurrentInstance().addMessage(null, new FacesMessage("some text"));
  // ... something ...
}
{code}
and rich:messages:
{code}
<rich:messages id="globalMessages" ajaxRendered="true"/>
{code}

The FacesMessage is not shown when it is enqueued in the fileUploadListener.

RF-3566 states that this problem is resolved in 4.0.0.Milestone5, but I got the exactly same problem in RF 4.2.2.Final.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list