https://github.com/apache/royale-asjs/issues/545

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

https://github.com/apache/royale-asjs/issues/545

Serkan Taş
Hi Alex,

Regarding
https://github.com/apache/royale-asjs/issues/545 I can confirm that menu is correctly populated from resources.

For the next cases;
1. I added the line "UserRole.OPERATION"  to menu data XML, compiles correctly but got an exception:

    UserRole is a custom class which has the definition : public static const OPERATION:String = "OPERATION";
   
  The line has the reference to the class UserRole :

<menuitem label="{resourceManager.getString('messages', 'configFiles')}" id="configfiles" role="{UserRole.OPERATION}">


    exception :



In the debugger :



should I open another bug ?

Thanks,
Serkan
Reply | Threaded
Open this post in threaded view
|

Re: https://github.com/apache/royale-asjs/issues/545

Alex Harui-2

Open a new issue and include the related files.

 

Thanks,

-Alex

 

From: Serkan Taş <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Friday, November 8, 2019 at 2:27 PM
To: "[hidden email]" <[hidden email]>
Subject: https://github.com/apache/royale-asjs/issues/545

 

Hi Alex,

Regarding https://github.com/apache/royale-asjs/issues/545 I can confirm that menu is correctly populated from resources.

For the next cases;
1. I added the line "UserRole.OPERATION"  to menu data XML, compiles correctly but got an exception:

    UserRole is a custom class which has the definition : public static const OPERATION:String = "OPERATION";
   
  The line has the reference to the class UserRole :

<menuitem label="{resourceManager.getString('messages', 'configFiles')}" id="configfiles" role="{UserRole.OPERATION}">


    exception :



In the debugger :



should I open another bug ?

Thanks,
Serkan