flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kamcknig <kamck...@gmail.com>
Subject Re: Trying to compile runtime resource modules
Date Sun, 01 Jan 2017 21:33:58 GMT
I also found out that if I create an instance of hte PostCodeValidator
right after I set the resourceManager's locale chain and use it then it
works. It's only when the PostCodeValidator is instantiated at a later time.

Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)

On Sun, Jan 1, 2017 at 3:55 PM, kamcknig [via Apache Flex Users] <
ml-node+s2333346n14395h99@n4.nabble.com> wrote:

> I've done some more investigating, it seems that actually my SWFs might be
> OK. I used the debugger and put a break point when the resource module SWF
> is loaded and a used the getString() method to pull out the string I
> wanted. The first two pictures show ID of the resource manager and the
> value of the string I retrieved from the loaded module.
> Later on when the PostCodeValidator is used you can see where the setters
> are called to set the error messages. The first screenshot shows the ID of
> the resourceManager and it's the same as the ID from previously. So it's
> the same instance. Yet the second screenshot shows that the value is null
> when it's retrieved. BUNDLENAME = "apache" (like it is when I'm retrieving
> it when it works, but this is part of the framework so they used the
> constant.
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.2333346.n4.nabble.com/Trying-
> to-compile-runtime-resource-modules-tp14391p14395.html
> To unsubscribe from Trying to compile runtime resource modules, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=14391&code=a2FtY2tuaWdAZ21haWwuY29tfDE0MzkxfC0xNTg3MjQ1NTM4>
> .
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Trying-to-compile-runtime-resource-modules-tp14391p14396.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message