I'm trying to get some locales to work in my validators. But the error
messages keep coming back null. I have compiled my locales into runtime
loaded SWFs, and I load the proper one at runtime. When the locale module
is loaded I can call the resoureManager.getString(<bundle>, <resource>) and
the proper string comes back. But when I use it in the PostCodeValidator,
the error messages returned from a failed validation are "null". Looking at
the source code for PostCodeValidator.as there is a metadata that
says [ResourceBundle("apache")]. But there is also a constant BUNDLENAME
which is equal to "validators". And later in the source it sets the error
messages with the code getResource.(BUNDLENAME, <resource>). So it seems to
me it's pulling from a "validators" bundle rather than the "apache" bundle.

Am I correct? Thanks!
Kyle

Reply via email to