[richfaces-issues] [JBoss JIRA] (RF-12063) rich:notifyMessages not displaying error from valueChangeListener

Brendan Healey (JIRA) jira-events at lists.jboss.org
Mon Mar 19 14:10:47 EDT 2012


Brendan Healey created RF-12063:
-----------------------------------

             Summary: rich:notifyMessages not displaying error from valueChangeListener
                 Key: RF-12063
                 URL: https://issues.jboss.org/browse/RF-12063
             Project: RichFaces
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: component-output
    Affects Versions: 4.2.0.Final
         Environment: Mojarra 2.1.7, RF 4.2.0.Final, Windows 7, Glassfish 3.1.2, Chrome browser.
            Reporter: Brendan Healey


I have a global notifyMessages in a template <rich:notifyMessages stayTime="3500"/>.
I log a global error in the usual way from a value change listener (process validations
phase):

FacesMessage message = getFacesMessage(errKey);
message.setSeverity(FacesMessage.SEVERITY_ERROR);
FacesContext.getCurrentInstance().addMessage(null, message);

but the error never appears. If I have an h:messages on the page which is ajax
rendered the message appears ok.

Regards,
Brendan.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list