Hi, I uses a tree2 that is working well.
  Today I got a requirement to render the tree2 as a horizontal menu bar for 
direct children under root, and drop down menu for deeper nodes. That is a 
popular style for website.
   
  For exmple,
   
   
  ---------File------------   Edit -----------------
  Save
  Save As ..
  Print...
   
   
  Any components can be used for the tree2 and actions are bound to bean 
methods, that is very flexible.  JSCookMenu is not flexible in this sense, and 
does not work in our case.
   
  Is there any drop-down menu component working with MyFaces? that supports 
  1.  menu items can be rendered using different components such as 
commandButton/Link;
  2.  menu item can be referenced as  #{menuItem.click} for method binding.
   
  For example, for a menu item,
  <h:commandLink value="Save" action="#{menuItem.click}"/>
   
  Basically, I need to render a tree2 horizontally with drop down menu.
   
  Thanks for help.
  Dave
   
   

        

Reply via email to