You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Serkan Taş <se...@likyateknoloji.com> on 2019/11/08 22:26:30 UTC
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
Re: https://github.com/apache/royale-asjs/issues/545
Posted by Alex Harui <ah...@adobe.com>.
Open a new issue and include the related files.
Thanks,
-Alex
From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, November 8, 2019 at 2:27 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: https://github.com/apache/royale-asjs/issues/545
Hi Alex,
Regarding https://github.com/apache/royale-asjs/issues/545<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F545&data=02%7C01%7Caharui%40adobe.com%7C6f4be5252d314c4040d608d7649accc7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637088488341232948&sdata=tNIZetUwapb%2Fdn6sOJ7ikEno1vHQGSA3PPmar12Zftk%3D&reserved=0> 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 :
[cid:image001.png@01D5967C.4E0FD830]
In the debugger :
[cid:image002.png@01D5967C.4E0FD830]
should I open another bug ?
Thanks,
Serkan