-
1. Re: Dynamic rich dropdown menu
xzuma May 14, 2007 8:35 PM (in response to xzuma)OUKEAY!
Since nobody replies, I guess it is not possible to back the dropdown menu with a bean.
Thanks everybody!
Z -
2. Re: Dynamic rich dropdown menu
sergeysmirnov May 14, 2007 8:44 PM (in response to xzuma)Do you familiar with JSF ?
-
3. Re: Dynamic rich dropdown menu
dxxvi May 15, 2007 5:06 AM (in response to xzuma)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? -
4. Re: Dynamic rich dropdown menu
sergeysmirnov May 15, 2007 10:53 AM (in response to xzuma)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.