Hi,

my Application is multilingual. So I tried to set errormessages in all
validators by databinding.

Here you can see a simple example.

...
var tooShortErrorMessage:String="Test Message";
...

...
<mx:StringValidator field="myModel.id" minLength="9" maxLength="20"
tooShortError="{tooShortErrorMessage}"/>
...

If the tooShortError occurs, I always get the Message "This string is
shorter than the minimum allowed length" instead of "Test Message". 

Can anybody tell me, how I can customize the messages?

best regards
Reini





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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