|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StringValidator | |
|---|---|
| wicket.markup.html.form.validation | Support for form validation. |
| Uses of StringValidator in wicket.markup.html.form.validation |
|---|
| Subclasses of StringValidator in wicket.markup.html.form.validation | |
|---|---|
class |
CustomValidator
Deprecated. Users should use StringValidator directly |
class |
EmailAddressPatternValidator
Validator for checking the form/pattern of email addresses. |
class |
IntegerValidator
Deprecated. @see NumberValidator |
class |
PatternValidator
Validates component by matching the component's value against a regular expression pattern. |
class |
TypeValidator
Deprecated. |
| Methods in wicket.markup.html.form.validation that return StringValidator | |
|---|---|
static StringValidator |
StringValidator.exactLength(int length)
Gets a String exact length validator to check if a string length is exactly the same as the given value If that is not the case then an error message will be generated with the key "StringValidator.exact" and the messages keys that can be used are: ${exact}: the maximum length ${length}: the length of the user input ${input}: the input the user did give ${name}: the name of the component that failed ${label}: the label of the component - either comes from FormComponent.labelModel or resource key [form-id].[form-component-id] in that order |
static StringValidator |
StringValidator.lengthBetween(int minimum,
int maximum)
Gets a String range validator to check if a string length is between min and max. |
static StringValidator |
StringValidator.maximumLength(int maximum)
Gets a String maximum validator to check if a string length is smaller then the given maximum value. |
static StringValidator |
StringValidator.minimumLength(int minimum)
Gets a String minimum validator to check if a string length is greater then the given minimum value. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||