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
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(); }