Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3
-
Component/s: Framework
-
Labels:None
-
Environment:javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL + ICEFaces
Description
If/Which components need to be changed to support javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL context-param
Activity
Adnan Durrani
created issue -
Adnan Durrani
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 2.0 [ 10032 ] |
Ken Fyten
made changes -
Summary | JSF2.0: if/Which components need to be changed to support javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL context-param | BridgesFacesContext is missing validationFailed() method. |
Issue Type | Task [ 3 ] | Bug [ 1 ] |
Salesforce Case | [] | |
Component/s | Framework [ 10013 ] | |
Affects Version/s | 2.0-Alpha2 [ 10214 ] | |
Security | Private [ 10001 ] | |
Assignee | Ted Goddard [ ted.goddard ] |
Ken Fyten
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Invalid [ 6 ] | |
Assignee | Ted Goddard [ ted.goddard ] |
This is introduced in JSF2.0. The UIInput component has the related code. So it doesn't seem like if our component or our renderer requires any change.
I have tested "javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL", with JSF2.0 + ICEfaces 1.8 and the UIInput taking care of it, but UInput calls validationFailed() on the FacesContext which is not implemented by our BridgeFacesContext and that is why we get UnsupportedOperationException.
if (!isValid())
{ context.validationFailed(); context.renderResponse(); }