MyFaces has a NavigationMenuItem that allows me to add a menu items from code by looping through a dbase. I would like to do the same with the org.richfaces.component.html.HtmlDropDownMenu.
All of the dynamic code examples seem to just have one HtmlDropDownMenu menu created and then possibly multiple sub items. The menu is then returned to the View. I would like to add multiple menu items and return them as an array?