| Constructor and Description |
|---|
ModelFieldValidationBean(String type,
String field)
Creates a validation configuration for a Model class.
|
ModelFieldValidationBean(String type,
String field,
Map<String,Object> options)
Creates a validation configuration for a Model class.
|
public ModelFieldValidationBean(String type, String field, Map<String,Object> options)
type - name of the validator. Ext JS has the following validators
built in the library: 'email', 'exclusion', 'inclusion', 'format',
'length' and 'presence'field - name of the fieldoptions - options for the validatorpublic ModelFieldValidationBean(String type, String field)
type - name of the validator. Ext JS has the following validators
built in the library: 'email', 'exclusion', 'inclusion', 'format',
'length' and 'presence'field - name of the fieldCopyright © 2010-2012. All Rights Reserved.