You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2021/02/23 11:23:30 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #1084: MenuBar 3rd-level is not showing

pashminakazi opened a new issue #1084:
URL: https://github.com/apache/royale-asjs/issues/1084


   In my application, there is a hierarchy of menu like
   **Admin** -> **Security** -> **Users** -> Create **User**
   when I click **Admin** a popup opens for sub-menu level 1,
   I selected **Security** then another popup opens for sub-menu level 2,
   when I click **Users** nothing happens It should open another popup as in Flex


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] aharui commented on issue #1084: MenuBar 3rd-level is not showing

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #1084:
URL: https://github.com/apache/royale-asjs/issues/1084#issuecomment-796499266


   Array-based Menu data providers default to looking for `menu` instead of `children` at the 3rd-level and subsequent levels.  There's probably some way to set the `submenuField` in the model, or you can just change the name of the property in data.
   
   ```
   			 // The Array data provider 
           [Bindable] 
           public var menuData:Array = [ 
                   {label: "MenuItem A", children: [ 
                   	{label: "SubMenuItem A-1", enabled: false,children: [ 
                   		{label: "SubMenuItem A-1-1", enabled: false}, 
                   		{label: "SubMenuItem A-1-2", menu: [ 
                   			{label: "SubMenuItem A-1-2-1", enabled: false}, 
                   			{label: "SubMenuItem A-1-2-2", type: "normal"} 
               				]} 
               			]}, 
                   	{label: "SubMenuItem A-2", type: "normal"} 
               		]}, 
               		{label: "MenuItem B", type: "check", toggled: true}, 
               		{label: "MenuItem C", type: "check", toggled: false}, 
               		{type: "separator"}, 
               		{label: "MenuItem D", children: [ 
                   	{label: "SubMenuItem D-1", type: "radio",groupName: "g1"}, 
                   	{label: "SubMenuItem D-2", type: "radio",groupName: "g1", toggled: true}, 
                   	{label: "SubMenuItem D-3", type: "radio",groupName: "g1"} 
               		]} 
           ]; 
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] alinakazi commented on issue #1084: MenuBar 3rd-level is not showing

Posted by GitBox <gi...@apache.org>.
alinakazi commented on issue #1084:
URL: https://github.com/apache/royale-asjs/issues/1084#issuecomment-796599992


   Alex , tried a solution/work around for 3rd level menu items .. I changed Array to  XMLListCollection and it worked till 3rd level menu items. menu items are shown.
   ![image](https://user-images.githubusercontent.com/36731338/110765611-2e54e700-8276-11eb-897a-1787d4a28b87.png)
   
   I will try and check also what you have suggested.
   Thanks  a lot
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] alinakazi closed issue #1084: MenuBar 3rd-level is not showing

Posted by GitBox <gi...@apache.org>.
alinakazi closed issue #1084:
URL: https://github.com/apache/royale-asjs/issues/1084


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] alinakazi commented on issue #1084: MenuBar 3rd-level is not showing

Posted by GitBox <gi...@apache.org>.
alinakazi commented on issue #1084:
URL: https://github.com/apache/royale-asjs/issues/1084#issuecomment-796611255


   Alex menu instead of children at 3rd level , I tried with an example and it worked.
   
   Thanks


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org