ICEfaces
  1. ICEfaces
  2. ICE-4374

BridgesFacesContext is missing validationFailed() method.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Hide
        Adnan Durrani added a comment -

        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(); }
        Show
        Adnan Durrani added a comment - 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(); }
        Hide
        Ken Fyten added a comment -

        Closed. This pertains to ICEfaces 1.8 on JSF 2.0, which is an unsupported configuration.

        Show
        Ken Fyten added a comment - Closed. This pertains to ICEfaces 1.8 on JSF 2.0, which is an unsupported configuration.

          People

          • Assignee:
            Unassigned
            Reporter:
            Adnan Durrani
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: