When I reset the form and then reset the validators, the code seems
take effect in reverse.  For example, when I execute the following
psuedo-code you would think that the new blank LastName would bind
into the LastName textbox before the validation gets reset.

1. Clear ModelLocator.getInstance().Affiliate.LastName
2. Reset validator for LastName

Instead, step one does clear the LastName in the ModelLocator but the
change does not take effect in the form until sometime AFTER the
validator is reset which causes validation to immediatly fail because
the field is required.

I know that one of the changes since Flex 1.5 is that validators are
now bound to a property in a control as opposed to a property in the
ModelLocator.  Is that why this method of resetting the form doesn't
work anymore?

Thanks,
Moishe Groger








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to