ICEfaces
  1. ICEfaces
  2. ICE-11132

Multiple ace:autoCompleteEntry components in same form with ace:clientValidateRequired causes premature validation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.1.0.GA
    • Fix Version/s: 4.2.BETA, 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 7/8, FF 47, IE 11, Chrome 52.
    • Assignee Priority:
      P2
    • Affects:
      Compatibility/Configuration

      Description

      Issue found when using multiple ace:autoCompleteEntry components with ace:clientValidateRequired in one form.
      Using this configuration the ace:autoCompleteEntry does not behave as expected.
      Scenario:
      A form has 3 ace:autoCompleteEntry components, each use an ace:clientValidateRequired within.
      After typing only one character into the first ace:autoCompleteEntry the validation messages for the 2nd and third autoCompleteEntry are immediately rendered.
      This can be reproduced with the /ICE-10883.jsf test app found at
      http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/autoCompleteEntry

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49399 Mon Oct 24 15:44:26 MDT 2016 mircea.toma ICE-11132 Modified ace:radioButton renderer to lazy initialize the client-side component code.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/radiobutton/RadioButtonRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49390 Thu Oct 20 12:48:11 MDT 2016 mircea.toma ICE-11132 Fix disableRules function to return the disabled rules for the current submit (as it's expected from it).
        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 #49375 Mon Oct 17 17:41:00 MDT 2016 mircea.toma ICE-11132 Mark submit for acquiring list items with 'ice.skipClientValidation' parameter.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49372 Mon Oct 17 14:10:13 MDT 2016 mircea.toma ICE-11132 Add inline comments. Add 'onfocusin' callback proxying.
        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 #49371 Mon Oct 17 13:34:03 MDT 2016 mircea.toma ICE-11132 Fix variable capturing when defining proxy callback.
        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 #49370 Mon Oct 17 12:14:08 MDT 2016 mircea.toma ICE-11132 Enhance client validation to respect the scope of the 'execute' attribute of a partial submit.
        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 #49358 Wed Oct 12 14:00:56 MDT 2016 mircea.toma ICE-11132 Run client validation only when the entire form or all components are executed.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49348 Tue Oct 11 05:59:58 MDT 2016 mircea.toma ICE-11132 Mark autoCompleteEntry's onblur submit to skip validation.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49316 Mon Sep 26 13:34:14 MDT 2016 mircea.toma ICE-11132 Add <ace:ajax render="@all"../> facets for 'valueChange' and 'blur' events to force rendering of all the components.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntryLabel.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntryMatch.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntryLazy.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntryIndicator.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntry.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntrySelect.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntryRows.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntryFacet.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/autocompleteentry/autoCompleteEntryReqStyle.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49309 Thu Sep 22 11:47:09 MDT 2016 mircea.toma ICE-11132 Use render=@this submit attribute to avoid client validation message overwrite.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49240 Tue Sep 20 05:04:36 MDT 2016 mircea.toma ICE-11132 Introduce ice.skipClientValidation parameter to programatically mark submits that should skip client validation.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49214 Wed Sep 14 15:24:48 MDT 2016 mircea.toma ICE-11132 Run validation only when the entire form is executed. Cleanup validation messages for elements that where changed after last submit and now pass validation.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/clientvalidator/clientvalidator.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: