Packageorg.restfulx.validators
Classpublic class ServiceErrorValidator
InheritanceServiceErrorValidator Inheritance mx.validators.Validator

Flex Validator that can be used to display errors that are stored in IServiceErrors format.



Public Properties
 PropertyDefined by
  field : String
field that the errors are for
ServiceErrorValidator
  serviceErrors : IServiceErrors
[write-only] Set the errors and do validation
ServiceErrorValidator
Public Methods
 MethodDefined by
  
ServiceErrorValidator
Protected Methods
 MethodDefined by
  
doValidation(value:Object):Array
ServiceErrorValidator
Property detail
fieldproperty
public var field:String

field that the errors are for

serviceErrorsproperty 
serviceErrors:IServiceErrors  [write-only]

Set the errors and do validation

Implementation
    public function set serviceErrors(value:IServiceErrors):void
Constructor detail
ServiceErrorValidator()constructor
public function ServiceErrorValidator()
Method detail
doValidation()method
protected override function doValidation(value:Object):Array

Parameters
value:Object

Returns
Array

See also

mx.validators.Validator.doValidation