|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DbFormsErrors | |
---|---|
org.dbforms.config | |
org.dbforms.validation |
Uses of DbFormsErrors in org.dbforms.config |
---|
Methods in org.dbforms.config with parameters of type DbFormsErrors | |
---|---|
protected org.apache.commons.digester.Digester |
ConfigLoader.initErrorsDigester(DbFormsErrors dbFormsErrors)
Construct and return a digester that uses the new errors file format. |
void |
ConfigLoader.loadErrors(InputStream input,
DbFormsErrors dbFormsErrors)
Load Errors Config from InputStream |
Uses of DbFormsErrors in org.dbforms.validation |
---|
Methods in org.dbforms.validation with parameters of type DbFormsErrors | |
---|---|
static StringBuffer |
DbFormsValidatorUtil.getJavascript(List formNames,
Locale locale,
Hashtable fieldsName,
ValidatorResources resources,
String javascriptValidationSrcFile,
DbFormsErrors errors)
J A V S C R I P T G E N E R A T I O N. |
static String |
DbFormsValidatorUtil.getMessage(String type,
ValidatorAction va,
Locale locale,
Field field,
DbFormsErrors errors)
Get the error message from ResourceBundle if present, else generate a DbForms-Error.xml standard. |
static boolean |
DbFormsValidator.validateByte(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field can safely be converted to a byte primitive. |
static boolean |
DbFormsValidator.validateCreditCard(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field is a valid credit card number. |
static boolean |
DbFormsValidator.validateDate(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field is a valid date. |
static boolean |
DbFormsValidator.validateDouble(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field can safely be converted to a double primitive. |
static boolean |
DbFormsValidator.validateEmail(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if a field has a valid e-mail address. |
static boolean |
DbFormsValidator.validateFloat(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field can safely be converted to a float primitive. |
static boolean |
DbFormsValidator.validateInteger(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field can safely be converted to an int primitive. |
static boolean |
DbFormsValidator.validateLong(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field can safely be converted to a long primitive. |
static boolean |
DbFormsValidator.validateMask(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field matches the regular expression in the field's mask attribute. |
static boolean |
DbFormsValidator.validateMaxLength(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field's length is less than or equal to the maximum value. |
static boolean |
DbFormsValidator.validateMinLength(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field's length is greater than or equal to the minimum value. |
static boolean |
DbFormsValidator.validateRange(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if a fields value is within a range (min & max specified in the vars attribute). |
static boolean |
DbFormsValidator.validateRequired(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field isn't null and length of the field is greater than zero not including whitespace. |
static boolean |
DbFormsValidator.validateShort(Object bean,
ValidatorAction va,
Field field,
Vector errors,
Locale locale,
DbFormsErrors dbFormsErrors)
Checks if the field can safely be converted to a short primitive. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |