I need to create a menu dynamically. the data will come for database. how to do that. please send me sample code.
I need to create menu like this-- Admin (Main menu)---Roles(sub menu)
when we click on the admin, role should display.
Please help me, thanks in advance..
The following link has an example..
on the left nav 'visual components > menu controls > menu bar
what i do is i get the menu xml from the db(will be stored in the table) and when the user logs in.. i send that xml from db and bind it to the menu bar component. Hope it helps