ICEfaces
  1. ICEfaces
  2. ICE-8962

ace:textEntry fails to submit required fields after failed validation (MyFaces only)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces3 trunk revision# 33310
      Myfaces (does not occur with Mojarra)
      Confirmed on Tomcat7, WebLogic10
    • Assignee Priority:
      P2

      Description

      When submitting an ace:textEntry that fails required validation the component becomes unresponsive to subsequent submits.

      To reproduce:
      1) Build / deploy showcase application (MyFaces)
      2) Navigate to ace:textEntry Overview page
      3) Select one of the required fields and tab out of it to trigger the submit (validation fails)
      4) Go back into the same field and type a value and tab out again
      Notice that the submit does not occur.

        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          Closed as a duplicate of ICE-8903.

          Show
          Ken Fyten added a comment - Closed as a duplicate of ICE-8903 .
          Hide
          Mircea Toma added a comment -

          It turns out that this issue is not a duplicate of ICE-8903. Reopening.

          Show
          Mircea Toma added a comment - It turns out that this issue is not a duplicate of ICE-8903 . Reopening.
          Hide
          Mircea Toma added a comment -

          The textEntry component becomes unresponsive because in Myfaces the corresponding 'input' is updated by the generic update procedure which replaces the element all together. The JS code that wires the event listeners to the 'input' element is not part of the update thus making the input unresponsive.

          In Mojarra the 'input' elements are edited in-place, the event listeners remaining thus intact.

          Show
          Mircea Toma added a comment - The textEntry component becomes unresponsive because in Myfaces the corresponding 'input' is updated by the generic update procedure which replaces the element all together. The JS code that wires the event listeners to the 'input' element is not part of the update thus making the input unresponsive. In Mojarra the 'input' elements are edited in-place, the event listeners remaining thus intact.
          Hide
          Mircea Toma added a comment -

          We submitted https://issues.apache.org/jira/browse/MYFACES-3653 patch to Myfaces but apparently it did not make it into the 2.1.10 final.

          Running the test with latest Myfaces code (which contains the mentioned patch) does fix this issue.

          Show
          Mircea Toma added a comment - We submitted https://issues.apache.org/jira/browse/MYFACES-3653 patch to Myfaces but apparently it did not make it into the 2.1.10 final. Running the test with latest Myfaces code (which contains the mentioned patch) does fix this issue.
          Hide
          Mircea Toma added a comment -

          The provided patch is included now in the latest Myfaces release, 2.1.12.

          Show
          Mircea Toma added a comment - The provided patch is included now in the latest Myfaces release, 2.1.12.

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Cruz Miraback
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: