[
http://jira.jboss.com/jira/browse/JBSEAM-3116?page=comments#action_12417258 ]
Przemyslaw Jaskierski commented on JBSEAM-3116:
-----------------------------------------------
Resolution of JBSEAM-2989 will fix a whole class of Seam's over verbose messages
problems. This one as well.
use a transaction failed event rather than message
--------------------------------------------------
Key: JBSEAM-3116
URL:
http://jira.jboss.com/jira/browse/JBSEAM-3116
Project: Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 2.1.0.A1
Reporter: Dan Allen
Priority: Minor
Fix For: 2.1.0.GA
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:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira