ICEfaces
  1. ICEfaces
  2. ICE-10822

New ace:clientValidateRequired client-side validator

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4.1
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Add support for client-side validation of required entry.

      Wraps the jQuery Validation required function in an ICEfaces / JSF friendly component.

      ---------------
      Description: Makes the element required.

      Src: http://jqueryvalidation.org/required-method

      -------------

      This validator should be supported by the following input components:

      ACE
      - ace:autoCompleteEntry
      - ace:checkboxButtons
      - ace:comboBox
      - ace:dateTimeEntry
      - ace:fileEntry
      - ace:maskedEntry
      - ace:radioButtons
      - ace:richTextEntry
      - ace:selectMenu
      - ace:simpleSelectOneMenu
      - ace:sliderEntry
      - ace:textAreaEntry
      - ace:textEntry
       
      MOBI:
      - mobi:dateSpinner
      - mobi:timeSpinner

        Issue Links

          Activity

          Hide
          Mircea Toma added a comment -

          Implemented ace:clientValidateRequired client-side validator.

          Show
          Mircea Toma added a comment - Implemented ace:clientValidateRequired client-side validator.
          Hide
          Liana Munroe added a comment - - edited

          Tested with ICEfaces 4 trunk r46164. When using this component with ace:sliderEntry a js error appears:
          TypeError: a is undefined
          http://localhost:8080/sliderEntry/javax.faces.resource/jquery/jquery.c.js.jsf?ln=icefaces.ace&v=4_1_0_151103
          Line 76
          Test app (/sliderEntryClientValidateRequired.jsf) can be found at:
          http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/sliderEntry.

          There are no issues when this component is used with autoCompleteEntry, textEntry, textAreaEntry, maskedEntry.

          ace:comboBox, ace:checkboxButtons, ace:radioButtons, ace:fileEntry, ace:selectMenu, ace:simpleSelectOneMenu and ace:richTextEntry are still missing the Validatetable interface so have not been tested.

          Show
          Liana Munroe added a comment - - edited Tested with ICEfaces 4 trunk r46164. When using this component with ace:sliderEntry a js error appears: TypeError: a is undefined http://localhost:8080/sliderEntry/javax.faces.resource/jquery/jquery.c.js.jsf?ln=icefaces.ace&v=4_1_0_151103 Line 76 Test app (/sliderEntryClientValidateRequired.jsf) can be found at: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/sliderEntry . There are no issues when this component is used with autoCompleteEntry, textEntry, textAreaEntry, maskedEntry. ace:comboBox, ace:checkboxButtons, ace:radioButtons, ace:fileEntry, ace:selectMenu, ace:simpleSelectOneMenu and ace:richTextEntry are still missing the Validatetable interface so have not been tested.
          Hide
          Liana Munroe added a comment - - edited

          As per ICE-5377 ace:sliderEntry will no longer considered for use with ace:clientValidateRequired.

          Show
          Liana Munroe added a comment - - edited As per ICE-5377 ace:sliderEntry will no longer considered for use with ace:clientValidateRequired.
          Hide
          Liana Munroe added a comment -

          ICEfaces 4 trunk 46287
          As per Ken ace:radioButtons will no longer be considered for use with ace:clientValidateRequired.

          Show
          Liana Munroe added a comment - ICEfaces 4 trunk 46287 As per Ken ace:radioButtons will no longer be considered for use with ace:clientValidateRequired.
          Hide
          Mircea Toma added a comment -

          Removed client validation support for ace:radioButtons.

          Show
          Mircea Toma added a comment - Removed client validation support for ace:radioButtons .

            People

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

              Dates

              • Created:
                Updated:
                Resolved: