[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2276) rich:messages is broken when FacesMessages is used from an action that returns an outcome
Pete Muir (JIRA)
jira-events at lists.jboss.org
Mon Nov 19 08:42:18 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2276?page=comments#action_12388201 ]
Pete Muir commented on JBSEAM-2276:
-----------------------------------
Ok, the message is found by UIRichMessages (facesContext.getMessages() returns it), but as "isPassed" (some local variable of richfaces) is false, the message is not written out.
> rich:messages is broken when FacesMessages is used from an action that returns an outcome
> -----------------------------------------------------------------------------------------
>
> Key: JBSEAM-2276
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2276
> Project: JBoss Seam
> Issue Type: Bug
> Affects Versions: 2.0.0.GA
> Reporter: Gavin King
> Assigned To: Pete Muir
> Priority: Critical
>
> 1. Create a project using JBoss Tools
> 2. Create an action called "hello"
> 3. Test it (works)
> 4. Change /home.xhtml to use rich:messages instead of h:messages
> 5. Changle Hello.java as follows:
> public String hello()
> {
> //implement your business logic here
> log.info("hello.hello() action called by #{identity.username}");
> facesMessages.add("hello");
> return "/home.xhtml";
> }
> 6. Test it (the message is not displayed correctly)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list