ICEfaces
  1. ICEfaces
  2. ICE-10824

New ace:clientValidateValueRange 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 that an input component decimal value is within a defined range.

      This component accepts an optional minValue and maxValue attribute.
      If only the minValue is specified, then enforces a min value only.
      If only the maxValue is specified, then enforces a max value only.
      If both are specified, then enforces the range.

      Wraps the jQuery Validation min/max/range functions in an ICEfaces / JSF friendly component.

      ---------------
      See:
      http://jqueryvalidation.org/min-method
      http://jqueryvalidation.org/max-method
      http://jqueryvalidation.org/range-method
      ----------------

      This validator should be supported by the following input components:

      ACE
      - ace:autoCompleteEntry
      - ace:comboBox
      - ace:maskedEntry
      - ace:richTextEntry
      - ace:sliderEntry
      - ace:textAreaEntry
      - ace:textEntry

        Issue Links

          Activity

          Ken Fyten created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Description Add support for client-side validation that a text-entry component contains a decimal value.

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

          ---------------
          Description: Makes the element require a decimal number.

          Returns true if the value contains a valid decimal number.
          Works with text inputs.

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

          This validator should be supported by the following input components:

          ACE
          - ace:autoCompleteEntry
          - ace:comboBox
          - ace:maskedEntry
          - ace:richTextEntry
          - ace:textAreaEntry
          - ace:textEntry
          Add support for client-side validation that an input component contains a minimum decimal value.

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

          ---------------
          Description: Makes the element require a given minimum.

          min( value ) value Type: Number
          Minimum value required

          http://jqueryvalidation.org/min-method
          ----------------

          This validator should be supported by the following input components:

          ACE
          - ace:autoCompleteEntry
          - ace:comboBox
          - ace:maskedEntry
          - ace:richTextEntry
          - ace:sliderEntry
          - ace:textAreaEntry
          - ace:textEntry
          Ken Fyten made changes -
          Link This issue blocks ICE-5377 [ ICE-5377 ]
          Ken Fyten made changes -
          Summary New ace:clientValidateMinValue client-side validator New ace:clientValidateValueRange client-side validator
          Description Add support for client-side validation that an input component contains a minimum decimal value.

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

          ---------------
          Description: Makes the element require a given minimum.

          min( value ) value Type: Number
          Minimum value required

          http://jqueryvalidation.org/min-method
          ----------------

          This validator should be supported by the following input components:

          ACE
          - ace:autoCompleteEntry
          - ace:comboBox
          - ace:maskedEntry
          - ace:richTextEntry
          - ace:sliderEntry
          - ace:textAreaEntry
          - ace:textEntry
          Add support for client-side validation that an input component decimal value is within a defined range.

          This component accepts an optional minValue and maxValue attribute.
          If only the minValue is specified, then enforces a min value only.
          If only the maxValue is specified, then enforces a max value only.
          If both are specified, then enforces the range.

          Wraps the jQuery Validation min/max/range functions in an ICEfaces / JSF friendly component.

          ---------------
          See:
          http://jqueryvalidation.org/min-method
          http://jqueryvalidation.org/max-method
          http://jqueryvalidation.org/range-method
          ----------------

          This validator should be supported by the following input components:

          ACE
          - ace:autoCompleteEntry
          - ace:comboBox
          - ace:maskedEntry
          - ace:richTextEntry
          - ace:sliderEntry
          - ace:textAreaEntry
          - ace:textEntry
          Ken Fyten made changes -
          Assignee Priority P1 [ 10010 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #46151 Thu Oct 29 11:55:49 MDT 2015 mircea.toma ICE-10824 Implemented ace:clientValidateValueRange client-side validator.
          Files Changed
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ValueRangeValidatorMeta.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages.properties
          Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/ValueRangeValidator.java
          Hide
          Mircea Toma added a comment -

          Implemented ace:clientValidateValueRange client-side validator.

          Show
          Mircea Toma added a comment - Implemented ace:clientValidateValueRange client-side validator.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Liana Munroe made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          Liana Munroe added a comment -

          As per ICE-5377 ace:sliderEntry will no longer be Validatetable.

          Show
          Liana Munroe added a comment - As per ICE-5377 ace:sliderEntry will no longer be Validatetable.
          Hide
          Mircea Toma added a comment - - edited

          Applied change under ICE-5377, commit #46170.

          Show
          Mircea Toma added a comment - - edited Applied change under ICE-5377 , commit #46170.
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: