Since nobody replies, I guess it is not possible to back the dropdown menu with a bean.
Do you familiar with JSF ?
If you create the drop down menu dynamically, I wonder how you can specify the action for each menuItem?
Anyway, I tried to create one dynamically (ignore the actions) and the result is not what I expected http://jboss.com/index.html?module=bb&op=viewtopic&t=108612.
Or maybe it can be created with some UIComponent manipulation?
Drop down menu, menu item and menu group are standard jsf components. So, you can create the component hierarchy usual way. Do not forget that value binding is not the same as method binding. So, event the page equivalent is action="a", you still need to provide method binding for action like for creating h:commandButton dynamically.