I'm building a Menu component that will recursively traverse an XML
file that might look similar to this:

<menu>
  <node label="menu1">
    <node label="sub 1-1" />
    <node label="sub 1-2" />
    <node label="sub 1-3" />
  </node>
  <node label="menu2" />
  <node label="menu3" >
    <node label="sub 3-1" >
      <node label="sub 3-1-1" />
    </node>
  </node>
</menu>

The navigation should be able to handle any depth branch and should be
able to scroll a sub menu if there are too many nodes to fit in the
parent container's height. 

Would it be best to extend the list, tree, or accordion class to get
this functionality? Each seem to have there own set of problems to
overcome and perhaps none of them are the right class to extend. 

Anyone have a need for a component like this?

Reply via email to