Flex supports validation in the View layer quite well but the problem is that 
the validation rules should not be there at all. They belong to Model but I'm 
not sure how to implement that in Flex.

I would like to be able to do something like this:

[Required]
[String(minLength="5")]
public var name : String;

and then just have the TextInput in the View validated automatically. 
Silverlight + .NET RIA Services can work like that but is that possible in Flex 
where we don't have 2-way data binding?

Thanks,
Borek

Reply via email to