Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.1, 1.1.2-SNAPSHOT
-
None
-
None
-
all
Description
During model update, when an Exception is thrown in the setValue method of the PropertyResolverImpl, it is wrapped in an EvaluationException, which is then caught in the ValueBindingImpl, and again wrapped in another EvaluationException, which is finally caught in the UIInput, where a generic error FacesMessage is rendered to the browser. This could be cleaner, and differs from the way it is done in the Sun RI. The Sun RI does the following:
1. Exception is caught by PropertyResolverImpl, wrapped in an EvaluationException, and thrown again
2. ValueBindingImpl catches the EvaluationException and rethrows it unchanged
3. UIInput catches the EvaluationException and creates an error FacesMessage containing the EvaluationException.getMessage() if it's not null, otherwise a generic error message.
Attachments
Attachments
Issue Links
- relates to
-
MYFACES-1280 EvaluationException during updateModel does not invalidate the component.
- Closed