Flex 1.x doesn’t allow databinding into validators.� It’s something we hope to address in the next version.

 

Matt

 


From: Christoph Guse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 4:38 AM
To: [email protected]
Subject: [flexcoders] Validator->requiredFieldError

 

Hi List,

I'm doing some work with validators and I found the property
requiredFieldError. With this property I can set a custom text to be
displayed instead of "The field is required". When I put a static text
in this property like requiredFieldError="you should fill in a name"
everything works fine. But it would be even nicer if I could fill this
property by databinding, i.e.:
var myError="you should fill in a name";
.... requiredFieldError="{myError}"...
With this it should be easy to have all errors somewhere central, for
instance in a XML file. But the databinding doesn't work. Do you have an
idea why?

Greets
Christoph

--
****************************************
Christoph Guse
L�hstra�e 34
41747 Viersen
Tel.  0 21 62 / 50 24 066
Mobil   01 72 / 160 74 84
VoIP  0 12 12 / 39 64 48 831
****************************************




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to