ICEfaces
  1. ICEfaces
  2. ICE-11182

Client Validators on certain components are not eagerly validated

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.2.BETA, 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 7/8, ICEfaces 4 trunk r49551, all browsers
    • Assignee Priority:
      P2

      Description

      The following components do not follow the eager validation rule when using client validators:
      ace:checkboxButtons
      ace:textEntry with secret="true"
      The rule states:
      "Once a component is marked invalid by a previous validation failure, it is eagerly validated: As soon as the user has entered the necessary value, the error message is removed, without requiring a form submit."

      This behaviour can be seen in these showcase clientValidator demos: ace:clientValidateRequired > Overview (checkboxButtons)
      ace:clientValidateLength > minimum (checkboxButtons and textEntry secret=true)




        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49575 Wed Nov 23 13:33:38 MST 2016 mircea.toma ICE-11182 Use Event constructor to create synthetic events (instead of UIEvent) and document.createEvent/initEvent functions for IE8,9 and 10. Fix ice.ace.evalInit function to properly work in IE.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/checkboxbutton/checkboxbutton.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/core/core.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49567 Mon Nov 21 17:26:05 MST 2016 mircea.toma ICE-11182 Re-add cleanup function even if previously defined since sometimes the validated element is updated/replaced.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49566 Mon Nov 21 14:59:22 MST 2016 mircea.toma ICE-11182 Fire synthetic event on the hidden select element to trigger the validation for the ace:checkboxbuttons component.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/checkboxbutton/checkboxbutton.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: