Flex Validators work a bit differently than this but check out the Validator Samples in Tour de Flex.
James Ward
2009-10-28 16:51:26
Flex Validators work a bit differently than this but check out the Validator Samples in Tour de Flex.
There is no component in Flex specifically designed to show a collection of all the validation errors in a form. Some built-in components have support for validation error indicators. TextInput, for instance, can display a red border with an error tooltip that appears on mouse roll over.
Well, I achieved the results I was expecting with a bit of work.
Sharing in the event that somebody has the same needs that I had ;-):
And thats pretty much it.
<my:ValidationView id="vv" />
<mx:StringValidator listener="{vv}" ... />
<mx:Validator listener="{vv}" ... />