Hello,

I need to create a MenuBar for my application. I read XMLListClollection is the 
best data provider for this? The Menu Items are defined in the database which 
returns  data it the following format.

ID LABEL                MENU_LABEL      STATUS  PARENT ID       
1  File                 TOP_LEVEL       ENABLED 
2  Customer File        ROOT            DISABLED        1
3  Security             SUB_MENU        ENABLED         1
5  Access Option        ROOT            DISABLED        3
6  User Setup           ROOT            DISABLED        3
7  Change Password      ROOT            ENABLED         3
9  List                 TOP_LEVEL       ENABLED 
13 Locations            ROOT            DISABLED        9

I am using e4x and XMLList to get and parse the data for the above format. Now 
I need to create XMLListCollection in a TREE structure where SUB_MENU and ROOT 
level menu are attached to it's parent MENU(see ID and Parent ID relationship). 
I need to display all the menu items but enabling according to the status only. 
I appreciate your help for building MenuBar with this data.

Thanks
Arshad


Reply via email to