Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
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 minimum and/or maximum length.
Wraps the jQuery Validation min/max/rangeLength functions in an ICEfaces / JSF friendly component.
This component optionally accepts a min and max length.
---------------
Description: Makes the element require a given minimum and/or maximum length.
See:
http://jqueryvalidation.org/minlength-method
http://jqueryvalidation.org/maxlength-method
http://jqueryvalidation.org/rangelength-method
-------------
This validator should be supported by the following input components:
ACE
- ace:autoCompleteEntry
- ace:checkboxButtons
- ace:comboBox
- ace:maskedEntry
- ace:richTextEntry
- ace:textAreaEntry
- ace:textEntry
Wraps the jQuery Validation min/max/rangeLength functions in an ICEfaces / JSF friendly component.
This component optionally accepts a min and max length.
---------------
Description: Makes the element require a given minimum and/or maximum length.
See:
http://jqueryvalidation.org/minlength-method
http://jqueryvalidation.org/maxlength-method
http://jqueryvalidation.org/rangelength-method
-------------
This validator should be supported by the following input components:
ACE
- ace:autoCompleteEntry
- ace:checkboxButtons
- ace:comboBox
- ace:maskedEntry
- ace:richTextEntry
- ace:textAreaEntry
- ace:textEntry
Issue Links
- blocks
-
ICE-5377
Support for client-side validators for ACE and MOBI input components
-
- Closed
-
Activity
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Description |
Add support for client-side validation of minimum and/or maximum length.
Wraps the jQuery Validation min/max/rangeLength functions in an ICEfaces / JSF friendly component. This component optionally accepts a min and max length. --------------- Description: Makes the element require a given minimum and/or maximum length. See: http://jqueryvalidation.org/minlength-method http://jqueryvalidation.org/maxlength-method http://jqueryvalidation.org/rangelength-method ------------- This validator should be supported by the following input components: ACE - ace:autoCompleteEntry - ace:checkboxButtons - ace:comboBox - ace:richTextEntry - ace:textAreaEntry - ace:textEntry |
Add support for client-side validation of minimum and/or maximum length.
Wraps the jQuery Validation min/max/rangeLength functions in an ICEfaces / JSF friendly component. This component optionally accepts a min and max length. --------------- Description: Makes the element require a given minimum and/or maximum length. See: http://jqueryvalidation.org/minlength-method http://jqueryvalidation.org/maxlength-method http://jqueryvalidation.org/rangelength-method ------------- This validator should be supported by the following input components: ACE - ace:autoCompleteEntry - ace:checkboxButtons - ace:comboBox - ace:maskedEntry - ace:richTextEntry - ace:textAreaEntry - ace:textEntry |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #46147 | Wed Oct 28 18:29:43 MDT 2015 | mircea.toma | |
| Files Changed | ||||
ADD
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/LengthValidator.java
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/resources/messages.properties
ADD
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/LengthValidatorMeta.java
DEL
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidator.java
DEL
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/clientValidator/MinLengthValidatorMeta.java
|
| Description |
Add support for client-side validation of minimum and/or maximum length.
Wraps the jQuery Validation min/max/rangeLength functions in an ICEfaces / JSF friendly component. This component optionally accepts a min and max length. --------------- Description: Makes the element require a given minimum and/or maximum length. See: http://jqueryvalidation.org/minlength-method http://jqueryvalidation.org/maxlength-method http://jqueryvalidation.org/rangelength-method ------------- This validator should be supported by the following input components: ACE - ace:autoCompleteEntry - ace:checkboxButtons - ace:comboBox - ace:dateTimeEntry - ace:maskedEntry - ace:richTextEntry - ace:textAreaEntry - ace:textEntry MOBI: - mobi:dateSpinner - mobi:timeSpinner |
Add support for client-side validation of minimum and/or maximum length.
Wraps the jQuery Validation min/max/rangeLength functions in an ICEfaces / JSF friendly component. This component optionally accepts a min and max length. --------------- Description: Makes the element require a given minimum and/or maximum length. See: http://jqueryvalidation.org/minlength-method http://jqueryvalidation.org/maxlength-method http://jqueryvalidation.org/rangelength-method ------------- This validator should be supported by the following input components: ACE - ace:autoCompleteEntry - ace:checkboxButtons - ace:comboBox - ace:richTextEntry - ace:textAreaEntry - ace:textEntry |
| Assignee Priority | P1 [ 10010 ] |
| Description |
Add support for client-side validation of minimum length.
Wraps the jQuery Validation minLength function in an ICEfaces / JSF friendly component. --------------- Description: Makes the element require a given minimum length. Src: http://jqueryvalidation.org/minlength-method minlength( length ) length Type: Number Minimum number of characters required Return false if the element is some kind of text input and its value is too short a set of checkboxes that doesn't have enough boxes checked a select and doesn't have enough options selected Works with text inputs, selects and checkboxes. ------------- This validator should be supported by the following input components: ACE - ace:autoCompleteEntry - ace:checkboxButtons - ace:comboBox - ace:dateTimeEntry - ace:maskedEntry - ace:richTextEntry - ace:textAreaEntry - ace:textEntry MOBI: - mobi:dateSpinner - mobi:timeSpinner |
Add support for client-side validation of minimum and/or maximum length.
Wraps the jQuery Validation min/max/rangeLength functions in an ICEfaces / JSF friendly component. This component optionally accepts a min and max length. --------------- Description: Makes the element require a given minimum and/or maximum length. See: http://jqueryvalidation.org/minlength-method http://jqueryvalidation.org/maxlength-method http://jqueryvalidation.org/rangelength-method ------------- This validator should be supported by the following input components: ACE - ace:autoCompleteEntry - ace:checkboxButtons - ace:comboBox - ace:dateTimeEntry - ace:maskedEntry - ace:richTextEntry - ace:textAreaEntry - ace:textEntry MOBI: - mobi:dateSpinner - mobi:timeSpinner |
| Summary | New ace:clientValidateMinLength client-side validator | New ace:clientValidateLength client-side validator |
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Mircea Toma [ mircea.toma ] | |
| Fix Version/s | 4.1 [ 11375 ] | |
| Affects | Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial [ 10003, 10001 ] |

This is the expected behaviour of jQuery validation. As long as nothing is entered the validation will not be triggered. Required client validation can be used to force input from the user.