[jbossseam-issues] [JBoss JIRA] Reopened: (JBSEAM-3116) use a transaction failed event rather than message

Dan Allen (JIRA) jira-events at lists.jboss.org
Thu Apr 2 02:11:57 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBSEAM-3116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Allen reopened JBSEAM-3116:
-------------------------------

      Assignee: Dan Allen


I'm not sure why this was closed. The Seam phase listener shouldn't be adding messages directly.

> use a transaction failed event rather than message
> --------------------------------------------------
>
>                 Key: JBSEAM-3116
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3116
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.1.0.A1
>            Reporter: Dan Allen
>            Assignee: Dan Allen
>            Priority: Minor
>             Fix For: 2.1.2.CR1
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> A FacesMessage should not be added by the SeamPhaseListener when the transaction fails. Instead, it should raise an event that would be observed by a component named FacesTransactionEvents. That observer would then add the FacesMessage to the response. This allows developers to override the behavior or perhaps add a JSF or log message.
> @see FacesSecurityEvents

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list