[richfaces-issues] [JBoss JIRA] Commented: (RF-5240) Exception processing in the richfaces custom listeners

Jay Balunas (JIRA) jira-events at lists.jboss.org
Fri Dec 11 16:21:29 EST 2009


    [ https://jira.jboss.org/jira/browse/RF-5240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12499537#action_12499537 ] 

Jay Balunas commented on RF-5240:
---------------------------------

Nicks comment:
MyFaces has built-in handlers for exceptions, while Sun RI doesn't have it. Uncaught exceptions from action listeners print stack traces in Sun RI and RF, but render error page (or handled by handler if present) with MyFaces.
So I'd suggest to avoid such change in behavior in minor point release.

> Exception processing in the richfaces custom listeners 
> -------------------------------------------------------
>
>                 Key: RF-5240
>                 URL: https://jira.jboss.org/jira/browse/RF-5240
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.3.0
>            Reporter: Anton Belevich
>             Fix For: 3.3.3.CR1
>
>
> exception which could occur in our listeners should be wrapped  with AbortProcessingException (see MethodBindingValueChangeListener, MethodExpressionValueChangeListener  for the implementation details)
> Hint: It's seems we should change componentTag.vm (setProperties) component.vm (getters generation) templates in our component generator for this purpose and implement custom MethodExpressionListeners, MethodBindingListeners like in jsf-ri do with valueChangeListener, actionListener

-- 
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 richfaces-issues mailing list