flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Trying to compile runtime resource modules
Date Mon, 02 Jan 2017 06:07:41 GMT
You mentioned in another thread that PostCodeValidator is looking in a
different bundle.  Which bundle did you put your custom error messages in?

-Alex

On 1/1/17, 1:33 PM, "kamcknig" <kamcknig@gmail.com> wrote:

>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=a2FtY2tuaWdAZ21haWwuY29tfDE0Mzk
>>xfC0xNTg3MjQ1NTM4>
>> .
>> NAML
>> 
>><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-nabbl
>>e.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble
>>%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21n
>>abble%3Aemail.naml>
>>
>
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Trying-to-compile-runtime-r
>esource-modules-tp14391p14396.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message