ICEfaces
  1. ICEfaces
  2. ICE-6717

<f:ajax disabled="true"> does not work correctly

    Details

      Description

      <h:commandButton ...>
        <f:ajax disabled="true">
      </h:commandButton>

      works as long as no input field has had the focus or no ajax-enabled button is clicked.

      See the attached example:
      'h:commandButton without Ajax' works in the beginning but not anymore after a click in one of the input fields or '...with Ajax' buttons.

      This happens with the nightly builds from March 29th as well as the one from March 22th

        Activity

        Hide
        Ted Goddard added a comment -

        This is partially a regression from ICE-6674 from the code change for ICE-6327. The basic problem is that IE and Firefox handle calling the "native submit" of a form differently from WebKit browsers. IE and Firefox are not including the submitting element.

        Show
        Ted Goddard added a comment - This is partially a regression from ICE-6674 from the code change for ICE-6327 . The basic problem is that IE and Firefox handle calling the "native submit" of a form differently from WebKit browsers. IE and Firefox are not including the submitting element.
        Hide
        Ted Goddard added a comment -

        Any component that can submit a form is a candidate for <f:ajax disabled="true">. In other words, complete testing would require component-showcase or a set of component regression tests to be modified so that each input component included <f:ajax disabled="true/false">.

        Show
        Ted Goddard added a comment - Any component that can submit a form is a candidate for <f:ajax disabled="true">. In other words, complete testing would require component-showcase or a set of component regression tests to be modified so that each input component included <f:ajax disabled="true/false">.
        Hide
        Ken Fyten added a comment -

        Resolved pending confirmation by QA.

        Show
        Ken Fyten added a comment - Resolved pending confirmation by QA.
        Hide
        Ted Goddard added a comment -

        Enhancement added so that if <h:form> is marked <f:ajax disabled="true"> the ice.captureSubmit() feature will be disabled as well. This prevents Ajax from being enabled on components that themselves do not directly support <f:ajax>.

        Show
        Ted Goddard added a comment - Enhancement added so that if <h:form> is marked <f:ajax disabled="true"> the ice.captureSubmit() feature will be disabled as well. This prevents Ajax from being enabled on components that themselves do not directly support <f:ajax>.
        Hide
        Ted Goddard added a comment -

        Test case for <f:ajax> and <ui:include> problem here:

        http://java.net/jira/browse/JAVASERVERFACES-2041

        This problem is unique to ui:include.

        Show
        Ted Goddard added a comment - Test case for <f:ajax> and <ui:include> problem here: http://java.net/jira/browse/JAVASERVERFACES-2041 This problem is unique to ui:include.

          People

          • Assignee:
            Mandeep Hayher
            Reporter:
            Stefan Niederhauser
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: